diff --git a/Using-nginx-with-Szurubooru.md b/Using-nginx-with-Szurubooru.md deleted file mode 100644 index 795fc82..0000000 --- a/Using-nginx-with-Szurubooru.md +++ /dev/null @@ -1,43 +0,0 @@ -Place this in your nginx configuration block. Configure as necessary. -Here we are using PHP5 with PHP-FPM. - - server { - - listen 420; - - root /path/to/your/installation; - index dispatch.php - - server_name www.example.com example.com; - - location = /favicon.ico { - log_not_found off; - access_log off; - } - - error_page 500 /dispatch.php?request=error/http&code=500; - - error_page 404 /dispatch.php?request=error/http&code=404; - - error_page 403 /dispatch.php?request=error/http&code=403; - - autoindex off; - - location / { - if (!-e $request_filename){ - rewrite ^(.*)$ /dispatch.php; - } - rewrite ^/?$ /dispatch.php; - } - - location ~ \.php$ { - try_files $uri =404; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - include fastcgi_params; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - # fastcgi_intercept_errors on; - fastcgi_pass 127.0.0.1:9000; - - } - } \ No newline at end of file