#---------------------- Domoticz <-> Controlicz NGINX Server ----------------------
server_name your_wildcard_server_name.example.com;
keepalive_timeout 70;
include /etc/nginx/proxy_params;
add_header Strict-Transport-Security max-age=63072000;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
access_log /var/log/nginx/voice-access.log;
error_log /var/log/nginx/voice-error.log;
#---------------------- Domoticz Server ----------------------
location /
{
server_tokens off;
proxy_pass http://local_ip:8080; #port that you have
access_log /var/log/nginx/domoticz.access.log;
error_log /var/log/nginx/domoticz.error.log;
}