Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document (deployment section) running Wave behind a reverse proxy #1941

Closed
mturoci opened this issue Apr 25, 2023 · 1 comment
Closed

Document (deployment section) running Wave behind a reverse proxy #1941

mturoci opened this issue Apr 25, 2023 · 1 comment
Labels
docs Documentation

Comments

@mturoci
Copy link
Collaborator

mturoci commented Apr 25, 2023

via @tomkraljevic

Add a sample nginx config, commented in detail. E.g.

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
    listen 443;
    ssl_certificate /etc/nginx/server.crt;
    ssl_certificate_key /etc/nginx/server.key;

    ssl on;
    ssl_session_cache  builtin:1000  shared:SSL:10m;

    client_max_body_size 0;

    location / {
      proxy_set_header Host $host;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection upgrade;
      proxy_set_header Accept-Encoding gzip;
      proxy_read_timeout 20d;

      proxy_pass http://localhost:10101/;
    }
}
@mturoci mturoci added the docs Documentation label Apr 25, 2023
@mturoci
Copy link
Collaborator Author

mturoci commented Jun 6, 2023

Resolved in 12b10ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation
Projects
None yet
Development

No branches or pull requests

1 participant