Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtualHosts = {
- let
- defaultProxySettings = ''
- proxy_set_header X-Real-IP $remote_addr;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- '';
- in {
- "example.com" = {
- enableACME = true;
- forceSSL = true;
- locations."/" = {
- proxyPass = "http://localhost:3000/";
- extraConfig = defaultProxtSettings;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement