Hello
I'm using nginx 1.10.3 running on raspbian.
I'm scratching my head and going through everything I can find online,
And I just can't seem to catch a specific location.
I want to create a location block for the specific uri:
https://myserver.com:1234/module1/pic.svg
And proxy_pass it to another server.
These work:
location / {..}
location ~ "\.(svg)$" {...}
These doesn't work:
location /module1/ {...}
location ^/module1/ {...}
location = /module1/pic.svg {...}
I need to catch the specific module (module1) and the specific filename (pic.svg).
I've tried a bunch of other combination following guides and examples I found online.
I just can't seem to get the correct formula for doing that.
Any ideas?
Thanks,
Tomer.
I'm using nginx 1.10.3 running on raspbian.
I'm scratching my head and going through everything I can find online,
And I just can't seem to catch a specific location.
I want to create a location block for the specific uri:
https://myserver.com:1234/module1/pic.svg
And proxy_pass it to another server.
These work:
location / {..}
location ~ "\.(svg)$" {...}
These doesn't work:
location /module1/ {...}
location ^/module1/ {...}
location = /module1/pic.svg {...}
I need to catch the specific module (module1) and the specific filename (pic.svg).
I've tried a bunch of other combination following guides and examples I found online.
I just can't seem to get the correct formula for doing that.
Any ideas?
Thanks,
Tomer.