Skip to navigation
Nginx proxy pass with subdirectory
12.06.20
location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:8060; } location ~ ^/img/(.*)$ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:8060/img/$1; }
Reply
Anonymous
Information Epoch 1732593193
Write simple parts connected by clean interfaces.
Home
Notebook
Contact us