ht-docker-static/nginx/patched/nginx.conf
2016-01-01 01:07:44 +01:00

18 lines
428 B
Nginx Configuration File

server {
listen 443 default_server;
location / {
proxy_pass https://localhost:40001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80;
server_name default_server;
location / {
proxy_pass https://localhost:40000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}