nginx-proxy-manager-zh/docker/rootfs/etc/nginx/conf.d/production.conf

15 lines
382 B
Plaintext
Raw Normal View History

# Admin Interface
server {
listen 81 default;
server_name nginxproxymanager;
location / {
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://localhost:3000/;
}
}