summaryrefslogtreecommitdiff
path: root/utils/templates/etc/nginx/default.apps-available/morty.conf
blob: 51f083985cc6d4f051bb8f68ea4b02a299fd303b (plain)
1
2
3
4
5
6
7
8
9
10
11
# https://example.org/morty

location /morty {
    proxy_pass         http://127.0.0.1:3000/;

    proxy_set_header   Host             \$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;
}