Jump to content
XPEnology Community

Search the Community

Showing results for tags 'reverse proxy'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Information
    • Readers News & Rumours
    • Information and Feedback
    • The Noob Lounge
  • XPEnology Project
    • F.A.Q - START HERE
    • Loader Releases & Extras
    • DSM Updates Reporting
    • Developer Discussion Room
    • Tutorials and Guides
    • DSM Installation
    • DSM Post-Installation
    • Packages & DSM Features
    • General Questions
    • Hardware Modding
    • Software Modding
    • Miscellaneous
  • International
    • РУССКИЙ
    • FRANÇAIS
    • GERMAN
    • SPANISH
    • ITALIAN
    • KOREAN

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Hi i'm running DSM 6.1.4-15217 Update 5. Web station package installed. I tried to configure simplest reverse proxy configuration: redirect http://server/path to docker container at http://localhost:port, however it looks like for some stupid reason it cant be done via UI - only port redirection is available. So configuration tweaks required. I have read number of articles. One of those is here https://tech.setepontos.com/2016/07/06/synology-dsm-6-web-station-virtual-hosts-settings/ Most of them tell to work with /usr/local/etc/nginx/sites-enabled/* Ok. i created config file as below and put under that folder. Reloaded configs with nginx -s reload. (and yes, it picks up config, i had syntax error in my file and it told me that) server { listen 80; location /portainer { proxy_pass http://127.0.0.1:9000; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } However, result is far from positive. My server named tank.local. When i open http://tank.local/portainer i always get redirected to http://tank.local:5000 Tried other containers like grafana or node-red. same result. Looked at server response : always getting 302 Moved permanently and redirection to http://tank.local:5000 I also inspected nginx.conf, tried to use another way - via /usr/loca/etc/nginx/conf.d/www.*.conf same result. at some point i was getting 404, but after i did synoservicecfg --restart nginx i'm always getting 302 moved permanently Any ideas?
×
×
  • Create New...