Re: 2 x Applications using the same domain behind a reverse proxy

2022-07-25 Thread Mik J via nginx
Hello everyone, I'm still trying to solve my implementation. When I access to example.org, I was to use /var/www/htdocs/app1 and it works. When I access to example.org/app2, I was to use /var/www/htdocs/app2 and it doesn't really work.     location / {   try_files $uri $uri/ /index.p

hostname support in geo (ngx_http_geo_module) variable maps?

2022-07-25 Thread PGNet Dev
i'm running nginx/1.23.1 i use 'geo'-based (ngx_http_geo_module) permissions to restrict access to some sites e.g., for explicit static IPs geo $RESTRICT_ACCESS { default 0; 127.0.0.1/32 1; 2601:...:abcd1; }