nginx

Welche Module sind dabei?

nginx -V

z.B: für realip:

nginx -V 2>&1 | egrep –color -o 'realip_module'

Config testen

nginx -t

Ports testen

sudo lsof -i :80 -s TCP:LISTEN

Standard Rev Proxy Konfiguration

proxy_pass http://localhost:8000/uri/;

Rev. Proxy mit lokalen Unix-domain Socket

proxy_pass http://unix:/tmp/backend.socket:/uri/;

Quelle: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass

  • nginx.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1