RE: nginx configuration variable interpolation

2023-03-27 Thread Vilius Šumskas
us -Original Message- From: nginx On Behalf Of Maxim Dounin Sent: Monday, March 27, 2023 7:09 PM To: nginx@nginx.org Subject: Re: nginx configuration variable interpolation Hello! On Mon, Mar 27, 2023 at 03:24:06PM +, Vilius Šumskas wrote: > I have the following directive in Nginx

Re: nginx configuration variable interpolation

2023-03-27 Thread Maxim Dounin
Hello! On Mon, Mar 27, 2023 at 03:24:06PM +, Vilius Šumskas wrote: > I have the following directive in Nginx configuration: > > location /docs { > add_header Access-Control-Allow-Origin $cors_origin; > } > > $cors_origin comes from the map {} where the value is set to * or something >

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

2021-06-10 Thread Maxim Dounin
Hello! On Thu, Jun 10, 2021 at 06:14:03AM -0400, raphy wrote: > In order to use XMPP with websocket, and take advantage of nginx > capabilities to proxy to 443 and to serve multiple domains, I've configured > nginx as follows: > > > server { > listen 443 ssl http2 default_server; >

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

2021-06-10 Thread Sergey Kandaurov
> On 10 Jun 2021, at 16:04, raphy wrote: > > Hi Sergey > > The nginx configuration I used for /xmpp-websocket location, taken from > here: https://prosody.im/doc/websocket , follows the official nginx > indications: https://nginx.org/en/docs/http/websocket.html > > If nginx doesn't support bo

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

2021-06-10 Thread raphy
Hi Sergey The nginx configuration I used for /xmpp-websocket location, taken from here: https://prosody.im/doc/websocket , follows the official nginx indications: https://nginx.org/en/docs/http/websocket.html If nginx doesn't support bootstrapping WebSockets with HTTP/2, what should I do? Poste

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

2021-06-10 Thread Sergey Kandaurov
> On 10 Jun 2021, at 13:14, raphy wrote: > > In order to use XMPP with websocket, and take advantage of nginx > capabilities to proxy to 443 and to serve multiple domains, I've configured > nginx as follows: > > >server { >listen 443 ssl http2 default_server; >server_name

Re: Nginx configuration to secure Baïkal installation

2020-09-29 Thread Francis Daly
On Sat, Sep 26, 2020 at 05:23:30AM -0400, Amateur Synologist wrote: Hi there, I think your first question was "which file should this go in"? You may have the answer already -- basically, it is "whichever file your nginx reads". If you have a running system, that is "the -c argument to nginx";

Re: Nginx configuration to secure Baïkal installation

2020-09-26 Thread Amateur Synologist
Thanx for answer. But their instructions says: "In particular you should really make sure that the Specific directory is not accessible directly, as this could contain your sql database" I've tried to enter path to Specific directory (baikal\Specific\db\) and I can access to sql database. Posted a

Re: Nginx configuration to secure Baïkal installation

2020-09-25 Thread alicesafr
Покажешь свою фотографию? Friday, 25.09.2020 15:38:46 от tew...@thomas-ward.net: From what I can tell the config as is is fine, and shouldn't need to have anything else exposed.  Since that's basically their nginx snippet in

Re: Nginx configuration to secure Baïkal installation

2020-09-25 Thread alicesafr
Покажешь свою фотографию? Friday, 25.09.2020 14:47:51 от nginx-fo...@forum.nginx.org:___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx configuration to secure Baïkal installation

2020-09-25 Thread Thomas Ward
>From what I can tell the config as is is fine, and shouldn't need to have anything else exposed.  Since that's basically their nginx snippet in a nutshell. Their warning is more if you attempt to use something that doesn't have a predefined example set - like lighttpd - where you'd then have to c

Re: NGINX configuration with two backends (without load balancing) and NGINX - MYSQL TLS encryption

2019-11-21 Thread Roger Pack
Since mysql connections don't have HTTP headers to "lookup the correct backend server group" based on, I doubt it can do #1 FWIW...I actually know little about nginx though. Maybe if you have it listen on various different ports (or different IP addresses coming in?) For #2 maybe need "listen..ssl

Re: Nginx configuration with artifactory

2017-10-07 Thread Syed Imran
I have a working configuration already, that is using the configuration that is given in jfrog wiki. But when it comes to multiple ip's as mentioned earlier. I am getting a bit confused. Below is the error that i get. root@ip-172-31-10-127:~# docker login XXX.XXX.XXX.XXX Username: test Password:

Re: Nginx configuration with artifactory

2017-10-06 Thread Francis Daly
On Fri, Oct 06, 2017 at 07:30:26PM +0530, Syed Imran wrote: Hi there, > My artifactory application in deployed using docker in port 8081. > But when I do a docker login, nginx always returns 405 not found. But the > web UI works find with both the ip’s. Does nginx return 405, or does nginx retu

Re: Nginx configuration Issue

2017-03-03 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! On 03/03/2017 04:15 PM, abhipower.abhi wrote: > I am using nginx-1.10.3 as a load balancer. In my architecture, I > have two servers- > > Hostname - sal15062hkb152, IP Address - 172.15.54.116 Hostname - > sal15062hkb184, IP Address - 172.15.

Re: Nginx configuration

2016-03-31 Thread Kevin "Ingwie Phoenix" Ingwersen
> Am 31.03.2016 um 22:05 schrieb marcosbontempo : > > Thanks for your answer! It was exactly what I wanted. I'll use nginx-conf. > > Posted at Nginx Forum: > https://forum.nginx.org/read.php?2,265742,265769#msg-265769 > > ___ > nginx mailing list > n

Re: Nginx configuration

2016-03-31 Thread marcosbontempo
Thanks for your answer! It was exactly what I wanted. I'll use nginx-conf. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265742,265769#msg-265769 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx configuration

2016-03-30 Thread Anoop Alias
No there is no rest api for generating nginx config dynamically. Please see below link for other options: http://stackoverflow.com/questions/15277453/any-good-way-to-programmatically-change-nginx-config-file-from-python -- *Anoop P Alias* ___ nginx ma

Re: nginx configuration with self signed certificates - getting error

2015-12-29 Thread Maxim Dounin
Hello! On Mon, Dec 28, 2015 at 04:50:23PM -0500, sumeetmaru wrote: > Please if anyone could take a look and reply? Messages you are seeing suggests that you've failed to provide proper trusted certificates via proxy_ssl_trusted_certificate and ssl_client_certificate files. An example configur

Re: nginx configuration with self signed certificates - getting error

2015-12-28 Thread sumeetmaru
Please if anyone could take a look and reply? Thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263695,263727#msg-263727 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx configuration recovery

2015-03-17 Thread Daniël Mostertman
Styopa Semenukha schreef op 17-3-2015 om 20:35: On Tuesday, March 17, 2015 01:24:52 PM vinay bhargav wrote: Hi, Sorry for spamming but I'm in deep trouble. I've accidentally overwritten /etc/nginx/site-availabe/default with some xyz file. I'm using Ubuntu 14.04. The server is still running. Is

Re: Nginx configuration recovery

2015-03-17 Thread Styopa Semenukha
On Tuesday, March 17, 2015 01:24:52 PM vinay bhargav wrote: > Hi, > > Sorry for spamming but I'm in deep trouble. > > I've accidentally overwritten /etc/nginx/site-availabe/default with some > xyz file. I'm using Ubuntu 14.04. The server is still running. Is there any > way I could recover the co

RE: Nginx Configuration saying Not found. Why and How to get rid of it?

2015-01-09 Thread Lukas Tribus
> Hi, > > I am compiling and installing NGinx from source > [...] > checking for sys/filio.h ... not found > checking for /dev/poll ... not found > checking for kqueue ... not found > checking for crypt() ... not found > checking for F_READAHEAD ... not found > checking for F_NOCACHE ... not found

Re: nginx configuration - sharetronix

2014-11-20 Thread Replace
omg :) i try again (i think) location / { try_files $uri /index.php?$query_string; } and everything work fine. I can't believe not tryed this before :) many, many thanks @Francis Daly Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254533,255019#msg-255019

Re: nginx configuration - sharetronix

2014-11-19 Thread Francis Daly
On Mon, Nov 03, 2014 at 01:40:33AM -0500, Replace wrote: Hi there, > i try to setup sharetronix on my vps server, with nginx + php5-fpm. The > problem is (maybe) my nginx configuration, when i try to view website, i get > error 404 - No input file specified. What request do you make, and what re

Re: nginx configuration - sharetronix

2014-11-19 Thread Replace
Bump* :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254533,254931#msg-254931 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx configuration needed to dynamically rewrite a subdirectory to a subdomain

2014-01-17 Thread Patrick Lists
On 17-01-14 06:06, jamesandrewyoung wrote: How to configure NGINX daemon so that blog.xxx.com becomes xxx.com/blog Can anyone help me? http://lmgtfy.com/?q=nginx+rewrite Regards, Patrick ___ nginx mailing list nginx@nginx.org http://mailman.nginx.o