Skip to content

Reverse Proxy with nginx does not seem to be working! Where am I going wrong? #945

Closed Answered by koush
cypht asked this question in Q&A
Discussion options

You must be logged in to vote


map $http_upgrade  $upgradevalue {
    websocket        websocket;
    default  '';
}
map $http_upgrade  $connectionvalue {
    websocket        Upgrade;
    default  '';
}

server {
    # Listen to port 443 on both IPv4 and IPv6.
    listen 443 ssl;
    listen [::]:443 ssl;

    # Domain names this server should respond to.
    server_name scrypted.example.com;

    # Load the certificate files.
    ssl_certificate /etc/letsencrypt/live/scrypted.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/scrypted.example.com/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/scrypted.example.com/chain.pem;

    # Load the Diffie-Hellman parameter.
    ssl_dhpar…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by koush
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #944 on July 11, 2023 07:14.