Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
server { | ||
server_name example.com; | ||
|
||
access_log /home/example.com/code/ShinyCMS.access.log; | ||
|
||
root /home/example.com/code/ShinyCMS/; | ||
|
||
location /static { | ||
add_header Cache-control public; | ||
root /home/example.com/code/ShinyCMS/root; | ||
} | ||
|
||
location / { | ||
add_header Pragma "no-cache"; | ||
add_header Cache-control "no-cache, must-revalidate, private, no-store"; | ||
expires -1s; | ||
|
||
fastcgi_pass unix:/home/example.com/code/ShinyCMS.socket; | ||
|
||
include fastcgi_params; | ||
|
||
fastcgi_param SCRIPT_NAME /; | ||
fastcgi_param PATH_INFO $fastcgi_script_name; | ||
} | ||
} | ||
|