mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #3090] NGINX Proxy Manager, Code-Server and Hugo (Reverse proxy a subdomain to a folder?) #2092
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2092
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joergklein on GitHub (Jul 31, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3090
This is a question.
I have a development server running in a VM. I use the code server, i.e. VS Code. The VM runs not only VS Code, but also Golang, R, Tex Live, Portainer, NGINX Proxy Server and Hugo (static site generator).
I have created documentation for this. https://github.com/joergklein/code-server.
When I start Hugo server, it shows http://localhost:1313 in the terminal. If the link is executed with the browser, http://localhost:1313 is redirected to the domain dev.example.com/proxy/1313/. The html page is displayed, unfortunately without css and the images. How do I create a redirect so that Hugo server also displays the css and images? dev.example.com is a subdomain with an A record. In this subdomain the code server is running.
The problem is that the style URL should be /proxy/1313/scss/styles.scss (in this case) not /scss/styles.scss, to fix this, specify the sub-path to match the nginx-proxy given may help.
@joergklein commented on GitHub (Jul 31, 2023):
I found a very simple solution.
config.yaml
relativeURLs: true