Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

WordPress: CSP Header

Hi everyone, I'm using nginx/1.6.2 on a GNU/Linux Debian (Jessie) system and hosting a WordPress site. The 'generel' CSP header I use is: add_header Content-Security-Policy "default-src 'self'; img-src...

View Article


auth_basic question/issue

I have set up the following on an Ubuntu LTS server installation, using the "default" nginx site configuration file. From what I have found so far, this should work -- and it does, sort of. If I know...

View Article


Access to AWS S3

Hi, I'm trying to access AWS S3 object store from NGINX. For that I'm using aws_access_key, aws_key_scope and aws_endpoint directives. AWS S3 V4.0 requires generation of a signing key to access it....

View Article

Nginx access log variables not set when the header-reading times out

Is there a way to set user-defined variables and use them in access logs before the NGINX rewrite phase? In some error scenarios, like the one defined below, we end-up in the access log phase before...

View Article

Re: Nginx access log variables not set when the header-reading times out

To make the question simpler: Is it possible to set a variable per request before the NGINX rewrite phase and use that variable in the access logs? Is this IMPOSSIBLE in NGINX? Setting a variable...

View Article


Nagios on nginx with fcgi/fcgiwrap

Hi All, I am trying to set up Nagios to run with nginx using fcgi/fcgiwrap and am receiving a "connection refused" to the defined socket: 2017/09/06 17:32:12 [error] 117059#117059: *5 connect() to...

View Article

Shard nginx-rtmp containers with nginx stream module

I want to let people publish on one url, for example: rtmp://domain:1935/app/stream_name In this url the stream_name could be a username or whatsoever. The stream_name is dynamic. Now I want to load...

View Article

Re: Nagios on nginx with fcgi/fcgiwrap

All, I wanted to update status.. I have been working on this and learned a lot more on fastcgi in general. This link provided great information:...

View Article


Nginx - set env_var - typo3 config urls

Hello, Plesk Onyx, Nginx - FPM - without Apache, Typo3, realURL I have read and googled a lot but i dont get it. I try to set the additional nginx conf at the Plesk backend like the following, this...

View Article


Basic nginx and rtmp setup

Hi, I am trying to setup nginx server where it will take video stream as input and re stream it using rtmp. This is my first time doing it and right now I am stuck as stream is not working. Here's my...

View Article

Re: Basic nginx and rtmp setup

Any update guys?

View Article

send / ping another server from nginx

I need the following configuration: when the nginx is getting a request I need to do 3 things: 1. write a log entry 2. reply with a pixel gif file 3. in some instances I need to ping a different url...

View Article

Reverse proxy to application

Hi everybody I have a synology and I want to link a subdomain to one on this application. This is the url I usually use to acces to this service :...

View Article


nginx+ mod_zip configuration

If mod_zip gets such lines: - 56320 /form1.doc form1.doc - 55296 /form2.doc form2.doc it works fine, but if (subdir added): - 56320 /upload/form1.doc form1.doc - 55296 /upload/form2.doc form2.doc...

View Article

nginx error during make

I'm running fedora 25 32bit and I've downloaded nginx-1.10.1. I . I need the rtmp module working too so I also downloaded nginx-ts-module-master and I ran: # ./configure...

View Article


RServe connection

I have my Rserve server connected and trying to connect it via API (node js) to redistribute connections as a load balancer with nginx. The issue is that I am able to redirect the node port, but not...

View Article

Streaming To Wordpress

Hi, Newbie here. I'm using OBS and Nginx, streaming from my own server. Works great on Youtube, but I don't want to stream to Youtube, I want to stream from my own server to my own website (live mp4...

View Article


How to implement +FakeBasicAuth on nginx

Hi All, lately I have switched from apache to nginx and I am having some troubles configuring basic authentication with client ssl certificates. In my apache configuration I have: <Location...

View Article

nginx error "location" directive is not allowed here in

Hello, at reset of nginx after change of a configuration the mistake began to arise. Help, please!!! nginx [43482]: nginx: [emerg] of "location" directive is not allowed here...

View Article

Re: nginx error "location" directive is not allowed here in

chillywilly Wrote: ------------------------------------------------------- > location = /robots.txt { > allow all; > root /var/www/nextcloud; > log_not_found off; > access_log off; Gives...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>