After I modified my app2 and put all my static files to static_app2 and with
Francis' suggestion location = /static_app2/img/logo-2.jpg { proxy_pass
https://test2.com:444; } . I was able to solve my problem.
Thank you Francis and Paul.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,29
Hi there,
On Mon, Jan 03, 2022 at 05:09:09PM -0500, graphite_123 wrote:
> OS: Linux, distribution: Debian (buster)
>
> Currently, we using nginx:1.14.2, and to support Lua we are using
> libnginx-mod-http-lua:1.14.2 package.
>
> We are working on upgrading Nginx to nginx:1.21.0 version, but I'm
The Lua module is a third party module, part of the Open Resty variant of
nginx. It will not be in the nginx.org repos and only in the OpenResty nginx
repos unless you compile it and its dependencies alongside nginx directly.
(not including libs that get installed via apt or packages, I mean -
OS: Linux, distribution: Debian (buster)
Currently, we using nginx:1.14.2, and to support Lua we are using
libnginx-mod-http-lua:1.14.2 package.
We are working on upgrading Nginx to nginx:1.21.0 version, but I'm unable to
find the compatible libnginx-mod-http-lua package. Can someone please help
Hi Francis,
I tried your suggestion. location = /static2/img/logo-2.jpg { proxy_pass
https://test2.com:444; } and I can access the img from
http://test1/static2/img/logo-2.jpg.
I'll try to edit my app2 django to use static2 instead static.
Thank you for your suggestion,
Sue
Posted at Nginx For
p.s. If I do curl from my local without connect vpn.
curl https://test1.com and I got the landing page of the app1.
curl https://test2.com I got 301.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,293219,293235#msg-293235
___
nginx mailing
Hi Francis,
Thank you. "Yes" both apps have static directory. From the error message
that seems nginx IS looking under different path "app1/static" for app1 and
"app2/static" for app2 . Does it means "static" did not confuse nginx? (I am
not 100% sure ) another thing I should mention : I added a
On Sun, Jan 02, 2022 at 08:51:40AM -0500, BonVonKnobloch wrote:
Hi there,
> I had one part of the pathname double and could not see it.
> Seemingly I have PUT & GET functionality - now for further testing and
> tightening permissions.
Good stuff -- it sounds like you have a thing that works well
On Sun, Jan 02, 2022 at 04:26:40PM -0500, ningja wrote:
Hi there,
> The issue is I need to configure nginx1 to allow people to access app2 from
> the public internet. The config file I post here is from test1 server.
> With this config I can access app2 html pages from the internet (just what I