Created
February 4, 2016 08:45
-
-
Save f1r3starter/9e1a81bf729b3e6bb880 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
location ~ \.php$ { | |
#fastcgi_cache orakul; | |
#fastcgi_cache_use_stale error timeout updating invalid_header http_500 http_503; | |
#fastcgi_cache_valid 200 5m; # Only cache 200 responses, cache for 5 minutes | |
#fastcgi_cache_methods GET HEAD; # Only GET and HEAD methods apply | |
#add_header X-Fastcgi-Cache $upstream_cache_status; | |
#fastcgi_cache_bypass $no_cache; # Don't pull from cache based on $no_cache | |
#fastcgi_no_cache $no_cache; # Don't save to cache based on $no_cache | |
fastcgi_pass ork_backend; | |
fastcgi_index /web/index.php; | |
fastcgi_param PATH_TRANSLATED /web/$fastcgi_script_name; | |
fastcgi_param SCRIPT_FILENAME /web/$fastcgi_script_name; | |
fastcgi_param DOCUMENT_ROOT /web; | |
include fastcgi_params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment