-
Nginx accesses php file 502 after configuring https
configure nginx.conf after applying for ssl certificate in normal order code is as follows:
there are no errors in the nginx log. There is no problem for https to access other files. It is only prompted to access the php file 502. Excuse me, where ...
-
The static image on the server cannot be updated, overwritten or deleted, and the original image is still displayed.
Server: Aliyun, lnmp1.4 version (centos7+nginx+mysql+php)
recently updated the static file of the website with ftp, found that after overwriting the old picture with the new picture, the foreground still displays the old picture, then deletes the pict...
-
There is a subdirectory in the nginx location code block, and the index.php in it reports 404.
background description
I want to put a project interface in the api.xxx.com domain name in the form of a subdirectory. For example, api.xxx.com friends , this subdirectory is full of friends project interfaces.
related codes
my corresponding ...
-
Linux environment uses docker to deploy php environment error File not found.
on Ali CVM, deploy the php development environment using the docker-ce version. After deploying nginx and php-fpm, the end file of the test. Html can be accessed, but the test .php file will report an error as follows:
File not found.
check the ngin...
-
Nginx server, how to configure a main website to access with https, a forum to use secondary domain name http access?
question: [warn] conflicting server name "bbs. * .com " on 0.0.0.0bbs. 80, ignored configures the https access of the primary domain name, how to realize the http access of the secondary domain name the main website is configured as follows:
serve...
-
What is the relationship between php-fpm and fastcgi in nginx
We know that in nginx.conf, you need to configure fastCGI,php. You need to install the php-fpm extension and start the php-fpm daemon before nginx can parse the php script.
Let s get to the point: 1. In Nginx, is it necessary to configure php-fpm to...
-
The test site suddenly made a mistake under chrome: (failed:net::ERR_COMPLETE_CHUNKED_ENCODING)?
Today, the test site suddenly threw a (failed:net::ERR_COMPLETE_CHUNKED_ENCODING) error, and then the domain name in the web request is like this www.xxx.cc :-Infinity,. What s going on?
uses nginx page rendering directly with php
...
-
How does the nginx 80 port agent locahost:81, hide port 81 of the URI on access?
< H2 > 1 Environment description-- three services within K8s are mapped to node, which are abc services < H2 >.
upstream a {
server 192.168.71.210:30080;
server 192.168.71.213:30080;
server 192.168.71.214:30080;
ip_hash;
}
upstream b {
server...
-
How do Nginx pseudo-static rules make index.php- > api
dynamic links are https: www.domain.com index.php admin login
pseudo-static is https: www.domain.com api admin login
I haven t contacted Nginx,. How do you write this rule?
...
-
Host nginx accesses php error in docker container
the native Nginx, I used then built a PHP7 environment on the machine with Docker. Php-fpm was started in Docker and the port was mapped. The host 9200 was mapped to 9000 in the container and added a code directory to the data volume. However, an error ...
-
Nginx sets the alias directory, always 404 error.
Environment:
CentOS 7.4 x64
Nignx 1.14
PHP 7.2.6
configuration file Nginx.conf root root is web public, phpmyadmin is placed in web phpmyadmin,
location phpmyadmin {
alias web phpmyadmin ;
index index.php index.html ...
-
Nginx uses the path to redirect to the service
three services ServiceA, ServiceB, ServiceC, are deployed on the server corresponding to the domain name www.services.com, the access method for each service is to access the index.html file of the corresponding path. For example, the front-end path of...
-
Which configuration files need to be modified to optimize the host built by Aliyun CentOS+LNMP to upgrade from 2-core 4G to 2-core 8G?
there used to be a CentOS+LNMP host with two or three WordPress websites. Recently, due to the increase in the number of visitors, the page was slightly stuttered (mainly for community Q & A business, not considering static for the time being) so the m...
-
Static resource loading deadlock problem
websites co-exist with http and https, but some users access static resources that are constantly requesting. As a result, the browser keeps turning around and cannot load it. Moreover, it appears randomly, sometimes it is another css or png image. If ...
-
Building nginx + php + docker environment for the first time, accessing localhost is a blank.
I installed images of nginx and php via docker
docker run --name dphp -v $PWD php: app php:7.0-fpm
docker run --name dngx -p 80:80
--link dphp:phpdomain
-v $PWD php-web-server.conf: etc nginx nginx.conf
--volumes-from dphp
nginx
< hr >
af...
-
Nginx+php-fpm concurrent
the machine is a small water pipe with 2 cores, 4 g memory and 1 m of memory. try ab-n 1000-c 1000 http: **.com with the local ab.
tp5
nginx
...
-
Virtual model Nginx 301amp 302 redirect question ask!
I would like to ask all the bosses, that is, I have just started to operate the website. But there is a question that bothers me, such as the following example: http: abc.com login.html?ref. how to redirect to http: abc.com login.html? Thank you fo...
-
Nginx php what happens if I set the number of worker to 4 but have five requests coming at the same time?
the first four requests I think nginx will be assigned to those four worker will the fifth fail? ...
-
Nginx rewrite configuration
the rewrite configuration on iis is like this
my configuration on nginx is like this, but except for index.php and directory, everything else is file not found. It must be my configuration problem
location ~^view-( d+) .html {
...
-
Php-fpm error: No pool defined. At least one pool section
operating environment: MacOS 10.13.6 launch php-fpm Times error content:
[18-Aug-2018 22:43:11] ERROR: No pool defined. at least one pool section must be specified in config file
[18-Aug-2018 22:43:11] ERROR: failed to post process the configuration
[...