after being deployed a few days ago, the interfaces were all open, and then I didn"t care. Today, suddenly 405, why did this happen? every time I configured nginx, I should not have done reload and restart.
after being deployed a few days ago, the interfaces were all open, and then I didn"t care. Today, suddenly 405, why did this happen? every time I configured nginx, I should not have done reload and restart.
405 is method not allow,
this should not be a problem with nginx, but a problem with the business interface written by the web framework.
there is a problem when using nginx to configure the front and back end to separate items. The front end is done with react and the routing is in history mode. The nginx configuration is as follows: server { listen 8000; server_name test; ...
url nginx this is the result of the request. It is found that the request address is still 127.0.0.1. Is there something wrong with it? ...
the server is the centos7.0 server component is nginx when configuring a reverse proxy, if you want to add this line in the red box, will report an error. How to solve this problem ...
after nginx sets the reverse proxy, the request shows Provisional headers are shown what to do ...
Front-end port nginx configuration server { listen 8000; -sharp server_name _; root home myftp dist; index index.html index.htm; location apis { rewrite ^.+apis ?(.*)$ $1 break; incl...
the proxy is used in the vue project. After build, the server on the configuration reported a 404 error, which should be caused by not being able to use the proxy of dev server. Configure how to use nginx, on the server to configure nginx to implement t...
centos,nginx configures the port. I really want to know the possible cause of this problem. Please ask the seniors to solve the problem ....
server { listen 80; server_name localhost; -sharpcharset koi8-r; -sharpaccess_log logs host.access.log main; location { proxy_pass http: localhost:8080; } location apis { ...
during the deployment phase of the project, the front-end call interface is cross-domain. Should you set a reverse proxy on the web server or add cross-domain code on the server? which is better, or is there a better way? ...
vue uses history mode, refresh is always on the home page vue-router uses history mode. The server is configured according to the official website using nginx. Refresh will only return to the entrance . refresh is still on the original page ...
because the online environment of the company project is multiple regions, the request API at the front end and the configuration of some regions are different, so you need a unified configuration file to meet the different needs of each region. Currentl...
after installing verdaccio, use PM2 start verdaccio to report an error. The output of the log file is shown in the picture. After searching the Internet, it does not support es6. I don t know if any friends have encountered this problem. How to solve it...
after antPro is compiled, using the nginx agent, the nginx is configured as follows: server { listen 8080; server_name localhost; -sharpcharset koi8-r; -sharpaccess_log logs host.access.log main; ...
both front and back ends are on the same CVM. vue is deployed on nginx, using port 80 and port 8081 on springboot. After the project starts, both vue and backend interfaces can be accessed on my local computer. Sending post requests under the vue path ...