Modified based on feedback
This commit is contained in:
parent
6a664ee179
commit
16af363ca5
|
|
@ -1,23 +0,0 @@
|
|||
server {
|
||||
listen 0.0.0.0:80;
|
||||
server_name myapp.example.com;
|
||||
|
||||
root /opt/bitnami/wordpress;
|
||||
index index.php;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
||||
}
|
||||
|
||||
if (!-e $request_filename)
|
||||
{
|
||||
rewrite ^/(.+)$ /index.php?q=$1 last;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass localhost:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
server {
|
||||
listen 0.0.0.0:80;
|
||||
server_name myapp.example.com;
|
||||
|
||||
root /opt/bitnami/wordpress;
|
||||
index index.php;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
||||
}
|
||||
|
||||
if (!-e $request_filename)
|
||||
{
|
||||
rewrite ^/(.+)$ /index.php?q=$1 last;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass localhost:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue