Add port fwd for faas
This commit is contained in:
16
nginx.conf
16
nginx.conf
@@ -32,3 +32,19 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
listen [::]:8080;
|
||||||
|
|
||||||
|
server_name faas.ralsina.me;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8082;
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
}
|
||||||
|
error_page 403 404 500 502 503 504 /custom_50x.html;
|
||||||
|
location = /custom_50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
internal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user