![]() Bind host via switchhost (127.0.0.1 local.# redirect server error pages to the static page /50x.html ![]() ![]() # '"$http_user_agent" "$http_x_forwarded_for"' # '$status $body_bytes_sent "$http_referer" ' #log_format main '$remote_addr - $remote_user "$request" ' Nginx -s stop/start/restart configuration fileįile address: usr / local / etc / nginx / nf #Configure root owner here to access the root static file, otherwise 403 will be re ported By the way, record the configuration steps of nginx install You can configure the local nginx service. Local development sometimes needs to debug static file resources, which cannot be accessed directly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |