Replies: 13 comments 37 replies
-
I have written two test cases. https://github.com/AlexanderLieret/nginx-proxy/tree/dev_more_tests
|
Beta Was this translation helpful? Give feedback.
-
There should be a test for 16e0eed by making sure that:
I don't think combinations of 1 3 and 2 3 pairs, or 2,3 alone need to be tested. |
Beta Was this translation helpful? Give feedback.
-
http to https redirect does not work properly. Calling post request to http endpoint will instead call get method on the reverse proxy See logs
But calling https directly works just fine
My docker-compose env variables is
|
Beta Was this translation helpful? Give feedback.
-
I use all the functionality (two VIRTUAL_PATH services, one of them use VIRTUAL_DEST, a "default" file for configuring nginx location) in the project I mentioned in #1699 |
Beta Was this translation helpful? Give feedback.
-
I found another bug.The function |
Beta Was this translation helpful? Give feedback.
-
Btw, are multiple paths supported?
UPD: From the code I see, it is |
Beta Was this translation helpful? Give feedback.
-
I think I have a bug regarding services:
gateway:
image: nginxproxy/nginx-proxy:dev
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ../nginx-proxy/certs:/etc/nginx/certs
networks:
- reverse-proxy
doc:
image: smartshape-doc:10.7.0
environment:
- 'VIRTUAL_HOST=smartshape.io.test'
- 'VIRTUAL_PATH=/documentation/'
- 'VIRTUAL_PORT=80'
- 'VIRTUAL_PROTO=http'
networks:
- reverse-proxy
app:
image: smartshape-app:next
environment:
- 'VIRTUAL_HOST=smartshape.io.test'
- 'VIRTUAL_PATH=/app/'
- 'VIRTUAL_PORT=80'
- 'VIRTUAL_PROTO=http'
networks:
- reverse-proxy
server:
image: smartshape-server:next
environment:
- 'VIRTUAL_HOST=smartshape.io.test'
- 'VIRTUAL_PATH=~^/(account|annotation|file|scene|streaming|update|webhook|live)/'
- 'VIRTUAL_PORT=443'
- 'VIRTUAL_PROTO=https' For some reason,
If I start only the |
Beta Was this translation helpful? Give feedback.
-
#1747 merged, should I rebase |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I tried the multiple paths approach and noticed the following difference in behavior compared to single path: Single Path behavior:
Multiple Path behavior:
I know that this is not a problem with this feature, but an inconsistent behavior of the nginx config. I think it is worth to add it to the documentation here, to save other people the time that I have spent. What do you think? My workaround is |
Beta Was this translation helpful? Give feedback.
-
Hi @buchdag , what stops nginx-proxy from merging? |
Beta Was this translation helpful? Give feedback.
-
I fixed the rebase issue I encountered, I still have to do some verification to make sure we don't accidentally break some less used and untested feature but I think this feature could realistically be merged to |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
The long requested path based routing feature is now available for tests in the
ninxproxy/nginx-proxy:dev
andninxproxy/nginx-proxy:dev-alpine
Docker images.The documentation forr the feature is available on the
dev
branch.Tests and remarks are welcome and required before we can consider this feature ready to be merged to
main
.This feature is a combination of #599 #1011 #1083 #1863 (in #1607), plus #1699 for some additions.
Beta Was this translation helpful? Give feedback.
All reactions