forked from Ponysearch/Ponysearch
12 lines
383 B
Text
12 lines
383 B
Text
|
# https://example.org/morty
|
||
|
|
||
|
location /morty {
|
||
|
proxy_pass http://127.0.0.1:3000/;
|
||
|
|
||
|
proxy_set_header Host \$http_host;
|
||
|
proxy_set_header Connection \$http_connection;
|
||
|
proxy_set_header X-Real-IP \$remote_addr;
|
||
|
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
||
|
proxy_set_header X-Scheme \$scheme;
|
||
|
}
|