certbot/certbot-compatibility-test/nginx/nginx-roundtrip-testdata/likeapache/nginx.conf
2016-07-11 13:58:21 -07:00

11 lines
337 B
Nginx Configuration File

server {
listen myhost:80;
server_name myhost;
location / {
root /path/to/myapp/public;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://myapp:8080;
}
}