mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
12 lines
337 B
Nginx Configuration File
12 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;
|
||
|
|
}
|
||
|
|
}
|