Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/ini/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/ini/nginx-network-sample-config.conf |
server {
listen 80;
server_name yoursite.com;
access_log /var/log/nginx/yoursite.com_access.log;
error_log /var/log/nginx/yoursite.com_error.log debug;
root /var/www/vhosts/yoursite.com;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
if (!-e $request_filename) {
rewrite ^/(blog1|blog2)/(wp-(content|admin|includes).*) /$2;
rewrite ^/(blog1|blog2)/(.*.php)$ /$2;
}
include /var/www/vhosts/yoursite.com/nginx.conf;
if (!-e $request_filename) {
rewrite (.*) /index.php last;
}
location ~ .php$ {
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}