Salve a tutti,
sto provando nginx sulla porta 8080 per i file statici su un server windows (con IIS).
Il problema è che configurando il file di nginx.conf, tutti i siti presenti sul server rispondono se viene richiamata la porta 8080. Io vorrei fare in modo che solo un sito risponda sulla porta 8080.
Questo è il file di configurazione:
codice:user nobody; worker_processes 1; pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen indirizzoip:8080; server_name sito.it www.sito.it; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } }

Rispondi quotando
