Today's project, learning nginx found that it is not bad, the speed is OK, but CSS JS can not be used, the original nginx configuration needs to configure rules for different types of files, it is very depressed, but still think it makes sense . After the problem is solved, paste the configuration to share. #user nobody; worker_processes 1; error_log logs/error.log; pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; access_log logs/access.log ; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { listen 8081 default; server_name localhost; charset utf-8; location /{ index index.php; if (!-e $request_filename) { #rewrite ^/myapp/(. *\\.(css
Sometimes the download space is provided for download, so you can directly set up any file download.
Although Linux systems are much more secure than Windows, some simple security co
Home is no stranger to the black box, it faithfully records every par
Traditional hard drives have a very slow performance improvement due to limitatio
What do the rookie webmaster need to pay attention to when using the server
Win2000 installation and server configuration (on)
What can I do if the remote desktop prompt "Remote computer has ended the connection"?
Mail server related knowledge popularization Transmission principle introduction
Restart IIS old prompt does not support this interface error resolution
How to establish a cloud environment virtual server connection?
MySQL server optimization in Linux environment
Windows Server Component Security Settings Policy
Network management combat server can not do automatic backup
Why are files and folders displayed in blue and green
How to transform Win7 routing to enable mobile phones to achieve wireless Internet
Win8 tile IE is not open on the desktop
How does Win10 repair system failure through system recovery function
Don't like Win8 UI? Then find the start button
Windows 7 system ADSL dialing appears local connection display is not recognized
Win10 Build 10049 or next week to Slow Ring slow beta users
Win7 boot prompts Windows can not find the file how to solve?