Comments (4)
Its a bug with neither, set your swag url to the regex-stanza linuxserver/docker-mods#769
from reverse-proxy-confs.
Its a bug with neither, set your swag url to the regex-stanza linuxserver/docker-mods#769
sorry for re-opening, but, the code-server and the openvscode-server templates aren't the same. In the openvscode-server there are 3 server blocks - one that handles the base url, and the other 2 to handle PORT as http and PORTs for https. All 3 are replaced by whatever swag_url is set to. Changing the swag_url to the regex string as suggested doesn't work as the 3 server blocks just conflict one another. It also would lead to an issue in differentiating http and https given one can only set swag_url once.
I think the reason for the 3 server blocks in the openvscode-server config is that openvscode-server doesn't have a proxy_domain configuration option like code-server does, but I'm not sure if this is really the case.
from reverse-proxy-confs.
That's correct. Openvscode-server conf has a very unique server block for proxying internal ports and differentiating between http and https (code-server internally does the first part but not the second).
That behavior is not compatible with auto-proxy at the moment and I was not able to come up with a quick fix. Any fix I could think of required too much effort and would add too many complications. Since it's the only conf with such an issue, I decided to leave it as is.
If you use auto proxy and set the server name, both the http and https proxy server blocks will have the same server name, which will break https proxy, but http proxy should still work as nginx should match the first one listed. Is that not the case?
from reverse-proxy-confs.
That's correct. Openvscode-server conf has a very unique server block for proxying internal ports and differentiating between http and https (code-server internally does the first part but not the second).
That behavior is not compatible with auto-proxy at the moment and I was not able to come up with a quick fix. Any fix I could think of required too much effort and would add too many complications. Since it's the only conf with such an issue, I decided to leave it as is.
If you use auto proxy and set the server name, both the http and https proxy server blocks will have the same server name, which will break https proxy, but http proxy should still work as nginx should match the first one listed. Is that not the case?
Yeah, using auto proxy a setting the server name works for the base url, you just don't get the port functionality.
I think I'll move my setup to code-server as that seems to be working fine including ports
from reverse-proxy-confs.
Related Issues (20)
- [BUG] onlyoffice documentserver integration broken due to Nextcloud's reverse proxy modification in ssl.conf HOT 1
- [FEAT] Add kresus.subdomain.conf.sample to proxy confs HOT 3
- [BUG] Dashy uses wrong port
- [BUG] Cannot acces to the admin UI via proxy HOT 5
- [BUG] Synology config not passing Secure SignIn app data HOT 2
- [FEAT] Add support for ansible Semaphore HOT 1
- [FEAT] [FEAT] include /config/nginx/custom-confs/*.conf HOT 5
- [BUG] komga, remove /api block HOT 4
- [BUG] Mealie default port misconfigured
- [BUG] Vaultwarden reverse proxy change HOT 4
- [BUG] Jellyfin gives an error 27 on specific devices HOT 10
- [FEAT] amp by cubecoders HOT 3
- [BUG] calibreweb conf references wrong container name, causing error 502 HOT 2
- [FEAT] Add support for flaresolvrr HOT 2
- [FEAT] Add support for wiki.js HOT 1
- [FEAT] upstream_proto https to http HOT 3
- [FEAT] Disable nginx proxy_buffering on emby and jellyfin confs HOT 2
- [FEAT] Disable external authorization for Influxdb API endpoint HOT 4
- [FEAT] Add support for GLPI HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reverse-proxy-confs.