Skip to content

Nginx reverse proxy #849

Answered by roflcoopter
builderjer asked this question in Q&A
Dec 8, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I believe this could be the explanation: https://www.f5.com/company/blog/nginx/websocket-nginx

Does this config work?

server {
	server_name <myhostname>;

	location / {
                proxy_pass "http://<my_local_ip_address>:<my_local_port>";
        }


    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/********-0001/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/********-0001/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgra…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@builderjer
Comment options

Answer selected by builderjer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants