Help with understanding nginx and synology

Currently reading
Help with understanding nginx and synology

Hi,

I hope someone here can help me! I'm failry new to the Synology ecosystem (got myself a treat during the holidays) and everything worked fine so far until I hit a roadblock.

I'm not new to configuring nginx or reverse proxy in general however, I have a very confusing behaviour on my Synology.

I followed this guide: Synology: HTTPS-SSL to Your Docker Containers Without Port at The End

to make bitwarden accessible, however, I'm not able to.. Currently I'm restarting my Synology to see if that may help.

I did everything as described in the guide and my server.ReverseProxy.conf looks like this:

Code:
server { listen 443 ssl; listen [::]:443 ssl;

server_name bitwarden.myname.synology.me ;

if ( $host !~ "(^bitwarden.myname.synology.me$)" ) { return 404; }

include /usr/syno/etc/www/certificate/ReverseProxy_5cc99b2f-1557-49b6-a036-ad96cbab5160/cert.conf*;

include /usr/syno/etc/security-profile/tls-profile/config/ReverseProxy_5cc99b2f-1557-49b6-a036-ad96cbab5160.conf*;

proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;

location / {

    proxy_connect_timeout 60;

    proxy_read_timeout 60;

    proxy_send_timeout 60;


    proxy_intercept_errors off;



    proxy_http_version 1.1;

    proxy_set_header        Host            $http_host;

    proxy_set_header        X-Real-IP            $remote_addr;

    proxy_set_header        X-Forwarded-For            $proxy_add_x_forwarded_for;

    proxy_set_header        X-Forwarded-Proto            $scheme;

    proxy_pass http://localhost:5151;


}

error_page 403 404 500 502 503 504 /dsm_error_page;

location /dsm_error_page {
    internal;
    root /usr/syno/share/nginx;
    rewrite (.*) /error.html break;
    allow all;
}

}

When I now want to open my url: bitwarden.myname.synology.me I get the Welcome page of Nginx. This happens for everything I want to open and it is HTTP not HTTPS.

Can someone more expericend then me help me with this?

DSM Version: DSM 7.0.1-42218
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Hey @fredbert and @strikes2k. It worked. I created a test-bed with a test camera and Netgear GS308E. Each...
Replies
7
Views
1,437
  • Question
Thank you all for your help I am now able to use the 5tb drive. I reformatted the drive using exfat and...
Replies
13
Views
1,488
For failure rate, the backblaze article on the topic is interesting...
Replies
6
Views
760
  • Question
Well that is a relief thank you Rusty, I've submitted a support ticket with Synology. Like you say, I...
Replies
2
Views
864
Glad you got your answers, I was going to suggest the same thing, replace 1 drive at a time, rebuild pool...
Replies
6
Views
1,173
I added Crucial CT8G4SFS8266 (1 x 8GB, DDR4-2666, SO-DIMM 260 to my DS920+ and works without any problems...
Replies
3
Views
4,251

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top