Advertisement
Guest User

Untitled

a guest
Feb 13th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. virtualHosts = {
  2. let
  3. defaultProxySettings = ''
  4. proxy_set_header X-Real-IP $remote_addr;
  5. proxy_http_version 1.1;
  6. proxy_set_header Upgrade $http_upgrade;
  7. proxy_set_header Connection "upgrade";
  8. '';
  9. in {
  10. "example.com" = {
  11. enableACME = true;
  12. forceSSL = true;
  13. locations."/" = {
  14. proxyPass = "http://localhost:3000/";
  15. extraConfig = defaultProxtSettings;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement