nginx

ssl nginx error

Generated certificates ➜ nginx Sudo openssl req -x509 -newkey rsa:2048 -days 365 -keyout /etc/nginx/ssl/cert.key -out /et ... oot 4,0K авг 7 12:56 .. -rw-r--r-- 1 root root 1,3K авг 7 13:15 cert.crt -rw------- 1 root root 1,9K авг 7 13:15 cert.key

nginx ubuntu 16.04

There is a site on ubuntu16. 04 there is also nginx + php-fpm you need access to the site from the local network (without cha ... uri $uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.0-fpm.sock; } }

nginx https to http

The bottom line is this: on the site, under a certain condition, the URL must change from https to http. if (strpos($url, 'ht ... to http), I was thrown back to http Could there be a problem in nginx? Is there a rule that doesn't allow redirects to http?

Configuring nginx for laravel

Good afternoon, I'm trying to configure laravel for nginx, nothing comes out. Config: server { listen 80; server_name ... change to an IP address with a port - it does not help. Looked with netstat -lnxp, finds the socket - var/run/php5-fpm.sock.

Broadcast an HLS or MPEG-DASH stream to the site

I really need help in translating the rtsp stream from the cameras to the site, I tried so many things - I can't get the stre ... tic ffmpeg -i rtsp://admin:[email protected]/onvif1 -c:v copy -c:a aac -ar 44100 -f flv rtmp://127.0.0.1/cams/stream2; } }

Nginx + Node.js + phpmyadmin Setup

Good time of day! There was a task to publish the api written in nodejs. On the VPS, nginx + phpmyadmin(mysql) is installed ... } # managed by Certbot listen 80; server_name xxxxxxx.ru www.xxxxxxx.ru; return 404; # managed by Certbot }

symfony + nginx

I installed nginx, configured the virtual hosts. But I needed to fill in symfony 5 to run through the CLI, but not to contact ... line listen, symfony in the nginx settings it runs on port 9000 as expected. What do I not understand? What am I doing wrong?

Close port 8080 on the docker + nginx front

Tell me how to close the port on which the backend is running, so that it is not available from the front. The nginx docker s ... uest domain. com: 8080 does not give anything at the front. but at the same time so that the server works on this 8080 port ?

Configuring the NGINX config for PHP

This is the current config http { include mime.types; default_type application/octet-stream; keepalive_tim ... 000 - Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host

The site with www does not open

There is an nginx frontend server{ listen 80; server_name test3.iandreev.com; rewrite ^(.+)$ https://test3.i ... The site cannot be accessed, the server IP address could not be found www.test3.iandreev.com. Tell please where is the error?

Authorization in nginx via ntlm with AD tokens (SSO)

How to make end-to-end authorization on the web service by clicking on the button without entering the username and password ... spnego-http-auth-nginx-module module, and I would like to do without kerberos and entering the linux server into the domain.

Running the project on Node.js and nginx configuration

I think it would be useful for someone to know how to run a project on Node.js. First of all, you need to install the node it ... eting from Express. PS. more information can be found on the zabugorny site Http://howtonode.org/deploying-node-upstart-monit

Nginx proxying api requests does not work as I expect

I have a backend server on express and a reverse proxy on nginx. On the way example.com/ static is given, and on the way exam ... GET request from /'}); }); app.get('/api', function (req, res) { res.send({testApi: 'Got a GET request from /api'}); });

Substituting arguments in an nginx request

There is location /test1. It makes a request, and creates arguments of the form &arg_type=new&arg2=200 , etc. For use ... ey are discarded during this very decoding. Accordingly, only http://example.com/new/{[9 reaches the destination point]}

In NGINX find out the authorized name of the user who went to the closed directory of the site

Made a closed directory. http { server{ listen 80; server_name 1.2.3.4; root /var/www/html; auth_basic "Введ ... atabase records user actions. How do I find out the name of the authenticated user in order to display the desired data page?

Strange 413 error in Nginx

The situation with comments and additions is described on habra. I still haven't decided, please help me. Returns 413 Request ... n uploading a file via the web interface.Directive in configs client_max_body_size 100m. Nginx works as a frontend to apache.

Why are both servers in active mode when clustering Pacemaker Corosync?

I am trying to configure HA between two servers that are located on different data centers of different companies. Since it ... ot@NODE-2 ~]# pcs status corosync Membership information ---------------------- Nodeid Votes Name 2 1 huj.lb.server (local)

How to configure wp-json in nginx?

I try to configure wp-json, but nginx swears. Returns error 404 Tell me what is wrong in my config location /wordpres ... } location ~ ^/wordpress/wp-json/ { rewrite ^/wordpress/wp-json/(.*?)$ /?rest_route=/$1 last; }

vk mini app doesn't open from your phone

With the web version and with the mobile version, everything works, and in the mobile app there is an endless download. The S ... g, requests from the mobile app do not appear. When I tested the app with ngrok, everything worked. Please tell me what to do