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

Nginx rtmp how to only accept 1 streams key.

Hi, i am trying to create a plataform to stream rtmp. so i need create a custom streams keys for users and not allow all stream keys. Example: in nginx you can stream with anyone key like this:...

View Article


FastCGI + Cart for OpenCart 2.x

Hello all, Need to help with such thing. My partner's shop built with OpenCart 2.2. It was Toooo slow on Apache. I move it onto nginx+fastcgi. Result is excellent, but... cart have cached too. And...

View Article


map directive in nginx work only in first variant

I try to use map directive. I have 2 vars and if first var exist set it to new var, or if only second var exist, set it to new var. My config: map "$arg_arg1:$cookie_1" $new_var { "~^.*:" $arg_arg1;...

View Article

Re: map directive in nginx work only in first variant

Working config: map "$cookie_1:$arg_arg1" $new_var { default "new"; "~:.*$" $arg_arg1; "~*^.*:$" $cookie_1; }

View Article

Configure two virtual hosts in Ubuntu 18.04

Hello i have my nextcloud site in /var/www/nextcloud, with user and group www-data. Using: ubuntu 18.04 with nginx 1.14 server. I created local virtual host nextcloud,aaron.com But when i go in browser...

View Article


[HELP] configuring NGINX web server with Google Domains

hello, i am trying to link my google domain to my NGINX web server i have running on my router. if i type my [PUBLIC-IP]:[PORT] into any browser it finds my page as intended "in other words i'm 100%...

View Article

apt-get update: Error 404 http://nginx.org/packages/ubuntu

I installed Nginx some months ago by using "apt-get install nginx" Now I'm getting this when running apt-get update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2...

View Article

Re: apt-get update: Error 404 http://nginx.org/packages/ubuntu

No replies to this, so I just blew away the server and built another one, which of course is working fine

View Article


Using a POST variable as a cache key

Hello, I am caching post requests that bring the same results. I am using the request body as part of the cache key. The problem is one of the pot variable is a session id that changes with every...

View Article


help with location of php-files

Hello, I have some problems with php-files not loading, only the index.php loads properly which is located in the root of the www folder (wwwiki). I wish to accomplish that the website loads as soon as...

View Article

Re: Nginx as a Reverse Proxy for OpenVPN (TCP 443)

Hi, I am trying to setup nginx for both https and TCP application but it is not working, could you please check here what is wrong in my configuration. server { listen 443; server_name...

View Article

Proxy_pass

I am trying to proxy public end point call https://login.microsoftonline.com/{tenant_id}/oauth2/token (POST request) to http://localhost/{tenant_id}/oauth2/token. This api call will be invoked inside...

View Article

access.log not updating

I have setup an nginx instance as a tcp proxy running version 1.16.1. The configuration is working fine apart from the access.log is not updating. It stays at 0 bytes.The error.log in the same folder...

View Article


I need help with enabling sites!

Hello, today I was trying to set up a new domain to run on my Nginx server. So, the default file I had for vps.cianoscatolo,it was this, and it was all fine:...

View Article

404 Not Found with Let's Encrypt for NGINX and Learning Locker

Hello, I installed Learning Locker (https://docs.learninglocker.net/guides-installing/) on a Google Cloud VM and verified that everything works for HTTP, but will need to set up HTTPS to send...

View Article


Re: 404 Not Found with Let's Encrypt for NGINX and Learning Locker

I figured it out. I just needed to place the certificate info into the learninglocker.conf file (inside the server block) and not have it in the domain-name.conf.

View Article

DAV modules loaded, but davext not working

I am using nginx from MacPorts on macOS Mojave. nginx has been compiled with davext and dav: bash-3.2# nginx -V nginx version: nginx/1.17.6 built with OpenSSL 1.1.1d 10 Sep 2019 TLS SNI support enabled...

View Article


compiling for Raspbian Buster

Running Raspbian Buster, as for today 29 december 2019, version of nginx is version: nginx/1.14.2 when installed from Raspbian repositories, latest release is nginx 1.17.7. So I want to compile latest...

View Article

proxying webrtc-streamer

Hi; OpenWrt x86_64. I have a webrtc-streamer instance serving RTSP IP cameras at 192.168.1.8:8000 which is working on my local LAN, and, if I port forward, also on wan at mysite:8000. Now, I want to...

View Article

Does Nginx (non-Plus) have a dash like Traefik by default?

Sorry my first question is a really noob one, but I just wanted to double-check. I'd gotten nginx to reverse proxy to a half dozen Docker containers about 6 months ago and then I had data corruption on...

View Article
Browsing all 4759 articles
Browse latest View live


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