Subject: nginx web server configuration file for Suprema BioStar 2 Door Access
System
Good day from Singapore,
On 7 Mar 2024 Thursday, I was installing NEW self-signed SSL certificate for
Suprema BioStar 2 door access system version 2.7.12.39 for a law firm in
Singapore because the common
riables
>
> > but recognizes that when
> > ssl_reject_handshake=on it doesn't need the certificate. For HTTP/3 it
> > doesn't seem to recognize that it doesn't need the certificate since it
> > will reject handshakes anyways.
>
> I see, but
it doesn't need the certificate. For HTTP/3 it
> doesn't seem to recognize that it doesn't need the certificate since it
> will reject handshakes anyways.
I see, but when testing with exactly the configuration you posted, it
does not appear to require them in the defaul
eb 2024 21:45:37 -0300
> Taco de Wolff wrote:
>
> > Hi,
> >
> > I've noticed at least in 1.24.0 and 1.25.4 that adding an
> > ssl_reject_handshake to the default server breaks SNI for other
> > servers. Example:
> >
> > ```
> > server {
&g
Hello,
On Wed, 28 Feb 2024 21:45:37 -0300
Taco de Wolff wrote:
> Hi,
>
> I've noticed at least in 1.24.0 and 1.25.4 that adding an
> ssl_reject_handshake to the default server breaks SNI for other
> servers. Example:
>
> ```
> server {
> server_name _
Hi,
I've noticed at least in 1.24.0 and 1.25.4 that adding an
ssl_reject_handshake to the default server breaks SNI for other servers.
Example:
```
server {
server_name _;
listen 80 default_server;
listen 443 default_server ssl;
listen 443 default_server quic reus
"Percentage of time the processor is idle" with a PID of 0.
This is typically the Web Deployment Agent Service (MsDepSvc) (this
often uses PID4) or Host Network Service - both stoppable from from
services.msc
Let us know how you get on!
On Sat, 3 Feb 2024 at 18:51, Victor Opp
t; with a PID of 0.
This is typically the Web Deployment Agent Service (MsDepSvc) (this often
uses PID4) or Host Network Service - both stoppable from from services.msc
Let us know how you get on!
On Sat, 3 Feb 2024 at 18:51, Victor Oppenheimer wrote:
> I am trying to run nginx as a reverse pr
insecure HTML and secure HTTPS webpage requests
Did you mean to say insecure HTTP and secure HTTPS webpage requests?
process secure HTMLS requests as well
Did you mean to say process secure HTTPS requests as well?
___
nginx mailing list
nginx@nginx.
I am trying to run nginx as a reverse proxy server on my Microsoft Windows
Server 2016 Standard computer.
I previously have used Microsoft IIS and Apache Tomcat on this computer to
serve webpages on port 80 and port 8080 respectively.
However, I want to have some of my websites use SSL and be
s fine.
>
> But I had some new questions here:
> 1st, When I edited the nginx.conf in master server, how to transfer the
> conf file to backup server immediately?
> 2nd, And after I edited , I should run 'nginx -s reload' in the master
> server, how can backup server do the s
Hi, all. I had just deploy two nginx servers and made them high-available
using keepalived. I tested it, and HA works fine.
But I had some new questions here:
1st, When I edited the nginx.conf in master server, how to transfer the
conf file to backup server immediately?
2nd, And after I edited
> When I am trying to upload files by hitting
> https://software.example.com/upload_form.html I am encountering http status
> code 405 Not Allowed. Please find inline a screenshot for your reference.
Does your upload form point exactly to '/upload.php' ? as by by default Nginx
doesn't allow PO
, Nov 28, 2023 at 12:39:47AM +0530, Kaushal Shriyan wrote:
> Hi,
>
> I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux
> release 8.8 (Ootpa). Is there a way to disable http_dav_module
in Nginx Web
> server?
>
> # nginx -v
>
an wrote:
> > Hi,
> >
> > I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux
> > release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx
> Web
> > server?
> >
> > # nginx -v
> > nginx version: nginx/1.24.0
>
av_module in Nginx Web
> server?
>
> # nginx -v
> nginx version: nginx/1.24.0
> # cat /etc/redhat-release
> Red Hat Enterprise Linux release 8.8 (Ootpa).
> #
> # nginx -V 2>&1 | grep http_dav_module
> configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/ngi
Hello!
On Tue, Nov 28, 2023 at 12:39:47AM +0530, Kaushal Shriyan wrote:
> I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux
> release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web
> server?
The DAV module is disabled by default, unless you'
Hi,
I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux
release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web
server?
# nginx -v
nginx version: nginx/1.24.0
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 (Ootpa).
#
# nginx -V 2>&1
Hello
> and found that it is always redirecting to the first server configured in
the nginx.conf file.
This is expected behaviour when you have not defined a default_server or
you are not sending the appropriate host header in your request (you are
not confirming how things are set in the h
Hi
I am trying to download a docker image through nginx, and found that it is
always redirecting to the first server configured in the nginx.conf file.
I am doing a podman pull "podman pull --tls-verify=false
mcr.itt.aws.orpd.com.au/devcontainers/python:dev-3.9-buster" but it is wron
gt; > nginx version: nginx/1.24.0
> > # cat /etc/redhat-release
> > CentOS Linux release 7.9.2009 (Core)
> > #
> >
> > Is there a way to enable two way SSL on Nginx web server?
> >
> > Please guide me. Thanks in Advance.
>
> Haven't you asked a sim
on Nginx web server?
Please guide me. Thanks in Advance.
Haven't you asked a similar question on the tomcat-user list?
https://marc.info/?t=16914615081&r=1&w=3
There was some questions send to you which haven't received any answers,
the questions here are similar.
* cou
Hi,
I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009
(Core)
# nginx -v
nginx version: nginx/1.24.0
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
#
Is there a way to enable two way SSL on Nginx web server?
Please guide me. Thanks in Advance.
Best
Hi.
On 2023-08-08 (Di.) 18:20, Kaushal Shriyan wrote:
Hi,
Is there a way to upload files to nginx web server
https://software.mydomain.com <https://software.mydomain.com> from the
browser ? I have the below nginx config file. I am running nginx
version: nginx/1.24.0
on CentOS Linux r
Hi,
Is there a way to upload files to nginx web server
https://software.mydomain.com from the browser ? I have the below nginx
config file. I am running nginx version: nginx/1.24.0
on CentOS Linux release 7.9.2009 (Core)
# nginx -v
nginx version: nginx/1.24.0
# cat /etc/redhat-release
CentOS
o configure nginx for below scenario.
>
> I have configured the Load Balancer(Nginx) for ignition. I have created two
> upstream(ignapp & ignProdapp) server. For ignapp upstream it is working
> fine. I need to configure the below code for upstream server(ignProdapp) in
> the sam
On May 19, 2023 at 8:01 PM -0500, Maxim Dounin , wrote:
> Hello!
>
> On Fri, May 19, 2023 at 06:57:04PM -0500, Dustin Marquess wrote:
>
> > I noticed that QUIC Stream and QUIC Server Push support were
> > removed in
> >
> > https://hg.nginx.org/nginx-quic/rev/11
Hello!
On Fri, May 19, 2023 at 06:57:04PM -0500, Dustin Marquess wrote:
> I noticed that QUIC Stream and QUIC Server Push support were
> removed in
>
> https://hg.nginx.org/nginx-quic/rev/113e2438dbd4
>
> And
>
> https://hg.nginx.org/nginx-quic/rev/f742b1b46901
>
I noticed that QUIC Stream and QUIC Server Push support were removed in
https://hg.nginx.org/nginx-quic/rev/113e2438dbd4
And
https://hg.nginx.org/nginx-quic/rev/f742b1b46901
I'm curious on what the reasoning was, given that none was given in the commit
messages?
-D
roblem.
> The company at which I work has several locations located within the same
> country. The company has subscribed to an online magazine that can be
> accessed after providing the public IP with which the various locations face
> the public network.
>
> Instead of
has several locations located within the same
> country. The company has subscribed to an online magazine that can be
> accessed after providing the public IP with which the various locations face
> the public network.
>
> Instead of providing the various public IP addresses r
ons
>> face the public network.
>>
>> Instead of providing the various public IP addresses related to each of
>> the different locations, my boss proposed to set up a proxy server at the
>> main work location and ask all users in the company to use that proxy to
>>
public IP addresses related to each of
> the different locations, my boss proposed to set up a proxy server at the
> main work location and ask all users in the company to use that proxy to
> reach the magazine's site.
> In this way, even company users working from home ca
providing the public IP with which the various locations face the public
network.
Instead of providing the various public IP addresses related to each of the
different locations, my boss proposed to set up a proxy server at the main work
location and ask all users in the company to use that
On Thu, Feb 23, 2023 at 12:03:15AM +0200, Christos Chatzaras wrote:
>
> > Short answer is no. The proxy_ssl_* family directives are available
> > for ngx_http_proxy and ngx_stream_proxy modules only.
>
> Thank you for the reply. Finally I did it by combining the Nginx
> mail proxy with multiple
> Short answer is no. The proxy_ssl_* family directives are available
> for ngx_http_proxy and ngx_stream_proxy modules only.
>
> --
> Sergey A. Osokin
Thank you for the reply. Finally I did it by combining the Nginx mail proxy
with multiple Stunnels.
_
Hi Christos,
On Wed, Feb 22, 2023 at 10:04:34PM +0200, Christos Chatzaras wrote:
>
> I setup a Nginx mail proxy and I would like mail clients to
> connect to it without TLS and then the Nginx proxy to connect
> to the real mail server using TLS.
>
> Is this possible?
Short
Hello,
I setup a Nginx mail proxy and I would like mail clients to connect to it
without TLS and then the Nginx proxy to connect to the real mail server using
TLS.
Is this possible?
Kind regards,
Christos Chatzaras___
nginx mailing list
nginx
Hi Jonas,
> On 15 Feb 2023, at 21:50, Jonas Hünig via nginx-devel
> wrote:
>
> Hi,
>
> I installed the new prebuild nginx package with http/3 support. This works
> very well for one server block, but when I add the listen directives to a
> second server block I get
ttwoch, 18. Januar 2023 20:31
An: nginx@nginx.org
Betreff: Re: AW: nginx-1.23.3 on Win Server wth HTTPS
Hello!
On Wed, Jan 18, 2023 at 12:41:32PM +, Kappes, Michael wrote:
> My "correct certificate information" is the Problem. Nginx tells me:
>
> invalid number of arguments in &
Hello!
On Wed, Jan 18, 2023 at 12:41:32PM +, Kappes, Michael wrote:
> My "correct certificate information" is the Problem. Nginx tells me:
>
> invalid number of arguments in "ssl_certificate" directive in
> C:\nginx\nginx-1.23.3/conf/nginx.conf:102
> (please note: "\" and "/" in the same pa
mp\1-Servername.cert.key;
Also here, i change "\" to "/" without that it makes a difference
Strange
Michael
-Ursprüngliche Nachricht-
Von: nginx Im Auftrag von Francis Daly
Gesendet: Mittwoch, 18. Januar 2023 12:02
An: nginx@nginx.org
Betreff: Re: nginx-1.23.3 on Win S
On Wed, Jan 18, 2023 at 08:51:18AM +, Kappes, Michael wrote:
Hi there,
> After unpacking the ZIP file I have a "nginx.conf" file which I edit, from
> line 98, the HTTPS server block starts there.
> C:\nginx\nginx-1.23.3>nginx -s reload
> nginx: [emerg] unknown
Hello,
i will use nginx-1.23.3 on a Win Server, inclusiv HTTPS
After unpacking the ZIP file I have a "nginx.conf" file which I edit, from line
98, the HTTPS server block starts there.
I enter the absolute path to the CA and KEY file (Windows like path) but NGINX
refuses to accept
On Sat, Jan 07, 2023 at 08:28:17AM +0530, Kaushal Shriyan wrote:
Hi there,
> Thanks Francis for the detailed explanation. Is there a way to configure
> Nginx for the below conditions?
I think, indirectly, yes.
If you want your nginx to react to some external status (e.g., the
up-or-down state o
To query your MySql database, I propose you use a REST interface to
decouple it from your Front End.
The REST interface should be a HTTP Web Service either self hosted or
hosted by another Web Server locally on the NGINX Server. (This allows
NGINX to handle authentication and HTTPS encryption
gt; >
> > {"errors": "MySQL DB Server is down"}
> >
> > When I hit http://mydomain.com/apis for conditions when MySQL DB is up
> and
> > running fine, I get the below output in spite of MySQL DB server being
> > fine.
> >
> > {&qu
On Thu, Jan 05, 2023 at 10:15:34PM +0530, Kaushal Shriyan wrote:
Hi there,
> When I hit http://mydomain.com/apis for conditions when MySQL DB is down. I
> get the below output and it works as expected.
>
> {"errors": "MySQL DB Server is down"}
>
> W
al Shriyan
wrote:
> Hi,
>
> I am running the nginx version: nginx/1.22 as a reverse proxy server on
> CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I
> see the below message on the browser even if the upstream server php-fpm
> server is up and running.
&
.
fastcgi_intercept_errors off;
add_header "X-Debug-JSON-APIS" $upstream_http_content_type"abc" always;
default_type application/json;
return 500 '{"errors": "MySQL DB Server is down"}';
# if ($isdatatypejson =
Hi Maxim,
I have tested using the attached nginx.conf file for your reference. I
tested using both scenarios.
When MySQL DB is down it works as expected.
{"errors": "MySQL DB Server is down"}
MySQL DB is up and running
It reports {"errors": "MySQL DB Se
nginx.conf
> > > where the php-fpm upstream server is processing all php files for Drupal
> > > CMS.
> > >
> > > fastcgi_intercept_errors off
> > > proxy_intercept_errors off
> > >
> > > User -> Nginx -> php-fpm -> MySQL DB.
&g
Hello!
On Fri, Dec 16, 2022 at 11:53:40PM +0530, Kaushal Shriyan wrote:
> I have a follow up question regarding the settings below in nginx.conf
> where the php-fpm upstream server is processing all php files for Drupal
> CMS.
>
> fastcgi_intercept_errors off
> proxy_in
Hi Maxim,
I have a follow up question regarding the settings below in nginx.conf
where the php-fpm upstream server is processing all php files for Drupal
CMS.
fastcgi_intercept_errors off
proxy_intercept_errors off
User -> Nginx -> php-fpm -> MySQL DB.
For example if the php-fpm
On Fri, Dec 16, 2022 at 1:38 AM Maxim Dounin wrote:
> Hello!
>
> On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote:
>
> >
> > I am running the nginx version: nginx/1.22 as a reverse proxy server on
> > CentOS Linux release 7.9.2009 (Core). When I hi
Hello!
On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote:
>
> I am running the nginx version: nginx/1.22 as a reverse proxy server on
> CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I
> see the below message on the browser even if the ups
On Thu, Dec 15, 2022 at 9:53 PM Kaushal Shriyan
wrote:
> Hi,
>
> I am running the nginx version: nginx/1.22 as a reverse proxy server on
> CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I
> see the below message on the browser even if the upstream
Hi,
I am running the nginx version: nginx/1.22 as a reverse proxy server on
CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I
see the below message on the browser even if the upstream server php-fpm
server is up and running.
*{"errors": {"status_cod
Thannk you Jeffrey for your help
Le dimanche 11 décembre 2022 à 09:31:10 UTC+1, Jeffrey 'jf' Lim
a écrit :
On Sun, Dec 11, 2022 at 8:03 AM Mik J via nginx wrote:
>
> Hello,
>
> My Nginx server sends syslogs to my remote syslog server with a host =
> myserver
On Sun, Dec 11, 2022 at 8:03 AM Mik J via nginx wrote:
>
> Hello,
>
> My Nginx server sends syslogs to my remote syslog server with a host =
> myserver.mydomain.org
> However I would like that the host to be the IP a specific IP of the server
> (which exists)
>
>
Hello,
My Nginx server sends syslogs to my remote syslog server with a host =
myserver.mydomain.org
However I would like that the host to be the IP a specific IP of the server
(which exists)
On my Nginx server
server {
...
access_log syslog:server=1.2.3.4;
error_log syslog:server=1.2.3.4;
Is
Hi Guys,
I am about to implement a CSP policy for my servers on my nginx reverse
proxy server. Since those are production websites as per guidelines I need
to put the policy in report only mode and send a report to another webserver
which would accept the POST response. However I tried building a
Thanks for this !!! It works in my case
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,295843,295864#msg-295864
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org
dfdsf/security.js:128:17
> at Layer.handle [as handle_request] (/fdsfsdfdfdsfr/layer.js:95:5)
>
> So my question is is there any way i can hide/restrict this with nginx.conf
> file modification or server configuration files modification
It seems like the issue is related to a backend a
Hi All,
I am new to nginx thing, currently we have primary nginx.conf file under
/etc/nginx/ and serval tenant specific server configuration file present in
/etc/nginx/conf.d/ folder.
So any http request was made it provides verbose nature of error message in
browser , it shows some source code
Hello!
On Fri, Sep 30, 2022 at 05:58:43PM +0530, Vishwas Bm wrote:
> Current syslog directive sends logs to an udp syslog server.
> Is there a plan to enhance it to support sending logs to tcp and tls+tcp
> based syslog server ?
There are no such plans. If you want to send logs to
Hi,
Current syslog directive sends logs to an udp syslog server.
Is there a plan to enhance it to support sending logs to tcp and tls+tcp
based syslog server ?
Regards,
Vishwas
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to
,
You need to set the reverse proxy ip in the www server:
https://nginx.org/r/set_real_ip_from
Also note this will replace $remote_addr with the value from X-Real-IP header
(the original value is in $realip_remote_addr).
On Thu, Jun 30, 2022, at 21:56, Mik J via nginx wrote:
> Hello,
>
Hello,
You need to set the reverse proxy ip in the www server:
https://nginx.org/r/set_real_ip_from
Also note this will replace $remote_addr with the value from X-Real-IP header
(the original value is in $realip_remote_addr).
On Thu, Jun 30, 2022, at 21:56, Mik J via nginx wrote:
> He
Email in error, please notify the author and
delete this message immediately.
On 30/06/2022 22:56, Mik J via nginx wrote:
Hello,
I have a real server placed behing my reverse proxy
www server 192.168.1.10 <---> 192.168.1.20 reverse proxy <---> NAT
Firewall <---> Interrnet <---&
Hello,
I have a real server placed behing my reverse proxywww server 192.168.1.10
<---> 192.168.1.20 reverse proxy <---> NAT Firewall <---> Interrnet <--->
Client on Internet
My configuration on my reverse proxy (192.168.1.20) looks like that
location ^
Hi there,
hope you're doing well.
On Mon, Jun 27, 2022 at 12:47:04AM -0400, mikecon wrote:
>
> stream {
> server {
> auth_basic off;
The auth_basic directive is a part of http_auth_basic module, [2] so it's
not related to a stream modules family.
&
Hi all, I have a CLI client and server written in Go Currently, they are
communicating via a socket connection and it's a server streaming connection
Now I want to have an Nginx proxy between these two
Is it possible to configure the normal socket connection in Nginx? How do
that, and wha
Thank you Francis.
Adding the '/' at the end of the 'location' entry seems to have done the
trick.
(And sorry for the delay in responding - what is that saying about life
happening when you try to make plans)
Susan
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,294234,294309#msg-294
s://myserver.com/weather"; needs to be handled locally, but
> "https://myserver.com/whatever"; needs to go to a different server on the
> network. To do this I have:
>
>location /whatever {
> proxy_pass http://10.12.45.12:1234/;
> }
I am a total newbie to this and I don't even know if what I want to do is
possible.
I have a web server that locally serves some of the files but in one case
needs to pass the web requests on to another server.
For example: "https://myserver.com/weather"; needs to be handled loca
Right - And that helped a lot. Thanks for the quick help
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,293801,293829#msg-293829
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org
I hope a server directive includes all sites of user. The benefit
of such configuration is that the limit_rate/limit_conn can take effect for the
user's all sites.
Is there any other configuration to implement this requirement?
-- Ori
3.conf:16"
>
> I hope different ssl_cerficate/ssl_cerficate_key pair for different $host
> in same server , it is possible?
>
No.
Why not create two vhosts?
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org
hi Hello,
Is below configuration valid? nginx report
"nginx: [emerg] "ssl_certificate" directive is not allowed here
in /usr/local/nginx/clientcfg/www.waf.soptest.com.443.conf:16"
I hope different ssl_cerficate/ssl_cerficate_key pair for
different $host in
Hi Blason,
On Mon, Mar 07, 2022 at 10:39:53PM -0500, blason wrote:
> Hi Team,
>
> I have Ubuntu 20.04 and Nginx 1.20.1 installed from Official Nginx
> repository. I already have made the server_tokens to off however wondering
> if customer header can be added without recompiling it? With any modu
Hi Team,
I have Ubuntu 20.04 and Nginx 1.20.1 installed from Official Nginx
repository. I already have made the server_tokens to off however wondering
if customer header can be added without recompiling it? With any modules or
packages on ubuntu 20.04?
TIA
Blason R
Posted at Nginx Forum:
https:
Hello!
On Tue, Mar 01, 2022 at 09:26:23AM +, Nitsan Matsliah via nginx wrote:
> Assuming I have 2 servers in an upstream server group:
>
> 1. Test1.server.local
> 2. Test2.server.local
> Each one of these servers holds their own FQDN in their
> respective cer
Assuming I have 2 servers in an upstream server group:
1. Test1.server.local
2. Test2.server.local
Each one of these servers holds their own FQDN in their respective certificates.
Test1.server.local will have test1.server.local as its subject and subject
alternative name in the certificate
> I got it working! I am not sure of the performance hit, maybe someone know
how to make this more effective?
Without going deeper on what are your actual requirements and what is the
expected result, the suggestion I could give is instead of the multiple if
statements to look at the map directiv
On 1/24/22 11:15, Reinis Rozitis wrote:
I want to be able to do an redirect, but only one time, the hit it should
not redirect.
If a client visits an web-store it will get redirected to the region
specific store, but if then then manually select an other store there it
should not redirect bac
> I want to be able to do an redirect, but only one time, the hit it should
not redirect.
>
> If a client visits an web-store it will get redirected to the region
specific store, but if then then manually select an other store there it
should not redirect back again. I don't know if a nginx sessio
Thank you for taking a look!
On 1/24/22 00:45, Francis Daly wrote:
On Fri, Jan 21, 2022 at 12:45:16PM +0100, Jelle de Jong wrote:
Hi there,
How can I use an nginx session or hash_ip in the server context to only do
the following if statement code once and not a second time an client visits
On Fri, Jan 21, 2022 at 12:45:16PM +0100, Jelle de Jong wrote:
Hi there,
> How can I use an nginx session or hash_ip in the server context to only do
> the following if statement code once and not a second time an client visits
> the website:
>
> server {
> if ($geoip2_dat
Hello everybody,
How can I use an nginx session or hash_ip in the server context to only
do the following if statement code once and not a second time an client
visits the website:
server {
if ($geoip2_data_country_iso_code != GB) {
return 302 https://test01.example.nl
Thanks Francis, Maxim,
I think that the docs are fine.
Coming from an OS/network world and not steeped in HTTP, I had mentally
reversed the concepts of location and root.
All is (almost) clear now.
Bob
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,293215,293273#msg-293273
__
Thank you. Francis. I did just as you said. location /static_app2/ {
proxy_pass https://test2.com:444; }
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,293219,293265#msg-293265
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/
m.
Good stuff; thanks for sharing the result.
You probably already have this in place, but just in case not:
If all of your app2-static files are below the url prefix "/static_app2/",
you can add one location to proxy_pass them all to the test2 server, like
location /static_app2/ { prox
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 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 (
on the test1 from my original post.
Both server has their own IP. I have two separate instances of nginx on
separate servers.
I can access https://test1.com/app1 from wan.
I can access https://test2.com/app2 from lan.
I can not load static files https://test2.com/app2 from wan.
What do you mean
1 - 100 of 1302 matches
Mail list logo