mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
11 lines
337 B
Nginx Configuration File
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;
|
|
}
|
|
}
|