menu

Recent questions tagged nginx

1 vote
2 answers
How do I set up redirects on nginx? Hello. I'm trying to set up redirects so that get-parameters ?lang=en lead to mysite.com/en/ or the city page of mysite.com/subcat/?lang=en leads to mysite.com/en/subcat ...
by artalexs
asked Sep 24, 2021
1 vote
1 answer
How to properly pass HTTP authorization through Nginx to Apache? Hi all, I'm facing a little problem that I can't figure out... How do I correctly pass HTTP authorization through Nginx to Apache? I have Nginx as proxy_pass and pass al ...
by RoffDaniel
asked Sep 24, 2021
1 vote
2 answers
image
Site does not work with SSL + H2, it works without H2. What can be the problem? There is a site with a secure connection configured. It works only if we turn off http2 in nginx settings. If we turn it on, the site displays "Failed to establish a con ...
by Anton_a46
asked Sep 22, 2021
9 votes
3 answers
image
What causes the request processing time jumps? Hi all, what's up: Server: 2 x 2.8 GHz, 4 GB RAM, 50 GB NVMe (13 GB full), 200 mbps ubuntu, nginx, php-fpm, php 7.3, laravel, mysql it has an API server that is supp ...
by Tutucu
asked Sep 22, 2021
1 vote
1 answer
NGINX + FLASK + Gunicorn configuration. How do I configure proxying to a subdirectory of the server? There is a configured VPS with NGINX + Gunicorn + Flask When accessing the "IP server", the application works. How do I change the config so that when I access a url ...
by Reanima
asked Sep 21, 2021
1 vote
1 answer
Redirect from one folder to another nginx? Hi all. There are two folders on the hosting. Conventionally folder1 and folder2. In folder1 there are pictures. I need a user to go to www.site.ru/folder2/image.png and ...
by da_ladno_vam_chuvaki
asked Sep 21, 2021
1 vote
1 answer
How can I use nginx to direct different subdomains to different pages? How can I make nginx open one page when I connect to sub1.domen.com, and another page when I connect to sub2.domen.com? A records of both subdomains point to the same I ...
by Poincare
asked Sep 21, 2021
1 vote
2 answers
How do I connect to Postgres that has no public access? Good afternoon! There are two servers on Ubuntu 18.04, the first has a public IP and nginx, and the second is a postgres database server and no remote access to it. Yo ...
by Espritto
asked Sep 21, 2021
1 vote
1 answer
Why can't I run the index.php? Hello. I have such an unusual question, for some of you it will seem dumb, but not the point. Installed nginx v1.18.0 on my Ubuntu 20.04LTS. Configured the right places. ...
1 vote
2 answers
Docker how to bolt on a domain? The bottom line is that there is a server with Nginx and php. There is a project that I can not touch. I want to run another project in a separate container on this ip ...
by bychkov_64
asked Sep 20, 2021
1 vote
1 answer
What is the best way to implement a query limit in the project? What is the best way to implement a query limit in a time interval on multiple servers. The easiest option would probably be at each query to go to the database and add ...
by Stepgor
asked Sep 20, 2021
2 votes
1 answer
Why doesn't Nginx change the protocol to WebSocket? My host config: location /socket.io { proxy_pass http://127.0.0.1:6002/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Co ...
by MrPofix
asked Sep 20, 2021
1 vote
1 answer
NGINX. How do I set up rewrite correctly? Good afternoon. Help me out. The task is to convert one url to another. when referring to https://site.com:8443/reports/ 1hrbewW5Pes0TzqretBrkjGDAQK/ 1hrbewW5Pes0T ...
by harsh34
asked Sep 20, 2021
2 votes
1 answer
image
Laravel + Nuxt + Nginx: WebSocket is closed before the connection is established? General scheme and project configuration files The project consists of two parts: Server part - Laravel (api) Client part - NuxtJs (client) A minimal configuration ...
by tol64
asked Sep 19, 2021
1 vote
1 answer
Почему отдает ошибку Failed to load resource: the server responded with a status of 500 () /wp-admin/admin-ajax.php:1? Почему отдает ошибку Failed to load resource: the server responded with a status of 500 () /wp-admin/admin-ajax.php:1 ? On the page But this page is still prescribe ...
by sergeiy_permyakov
asked Sep 19, 2021
2 votes
1 answer
PHP-fpm explain some questions? 1. 1 request and hundreds of files are parsed and after that either 1 process is discarded and it works for a while. 2 . Pools for database queries, how? See item. 1 3 ...
by firedragon
asked Sep 19, 2021
1 vote
2 answers
Problem with getting SSL certificate via Certbot. Detail: Invalid response from? Previously installed Certbot and successfully obtained a certificate for one of the domains. Needed to add another domain. Added domain to nginx config, http is fine, co ...
by MarkelSTV
asked Sep 19, 2021
1 vote
2 answers
Https is replaced by http after going through nginx? We have a task: in one docker container with php-fpm add nginx, which will run on port 80. Right now this nginx has the following configuration: server { liste ...
by MrDimaFIX
asked Sep 18, 2021
1 vote
2 answers
image
How to properly handle *.html in *.php in NGINX configuration when querying? There was a directory on .html > moved to .php in /graphics/. Got it: everything works on the site. For indexing correctly it is necessary when referring: https:// ...
by inmotusdesign
asked Sep 18, 2021