中医古籍标引
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

nginx.conf 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. user nginx;
  2. worker_processes auto;
  3. error_log /var/log/nginx/error.log notice;
  4. pid /var/run/nginx.pid;
  5. events {
  6. worker_connections 1024;
  7. }
  8. http {
  9. include /etc/nginx/mime.types;
  10. default_type application/octet-stream;
  11. log_format main '$upstream_addr $server_name $remote_addr - $remote_user [$time_local] "$request" "$request_body" $server_addr '
  12. '$status $body_bytes_sent "$http_referer" '
  13. '"$http_user_agent" "$http_x_forwarded_for" "$request_time" "$upstream_response_time" "$server_port"';
  14. log_format debug '[$time_local] "$upstream_addr" $remote_addr "$http_x_forwarded_for" '
  15. '$status $body_bytes_sent "$http_referer" "$request" $server_port '
  16. '"$http_user_agent" $sent_http_my_custom_header $request_time $upstream_response_time $request_length "$request_body" "$http_version" "$http_deviceid" "$http_clientId" "$http_userId" "$http_phoneBrand" "$http_phoneVersion" "$http_phoneModel" "$http_deviceType"'
  17. access_log /var/log/nginx/access.log main;
  18. error_log /var/log/nginx/error.log error;
  19. sendfile on;
  20. #tcp_nopush on;
  21. keepalive_timeout 65;
  22. #gzip on;
  23. server {
  24. listen 80;
  25. location / {
  26. root /usr/share/nginx/html/;
  27. try_files $uri $uri/ /index.html;
  28. index index.html index.htm;
  29. error_page 405 =200 http://$host:80$request_uri;
  30. }
  31. }
  32. include /etc/nginx/conf.d/*.conf;
  33. }