Add files via upload
This commit is contained in:
1 parent
c39a0e3d4d
commit
1d3dc57d98
2 files changed
+60
No files matched your search
@@ -0,0 +1,40 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name yuming.com;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name yuming.com;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/yuming.com_cert.pem;
|
||||
ssl_certificate_key /etc/nginx/certs/yuming.com_key.pem;
|
||||
|
||||
root /var/www/html/yuming.com/wordpress;
|
||||
index index.php;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_busy_buffers_size 64k;
|
||||
fastcgi_buffer_size 32k;
|
||||
fastcgi_keep_conn on;
|
||||
|
||||
fastcgi_cache my_cache;
|
||||
fastcgi_cache_key "$scheme$request_method$host$request_uri$arg_id";
|
||||
|
||||
}
|
||||
|
||||
client_max_body_size 50m;
|
||||
}
|
||||
Reference in new issue
Block a user