REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 2.56 KB
Close
/home/jambtst2015/public_html/forum/docs/nginx.sample.conf
Text
Base64
# Sample nginx configuration file for phpBB. # Global settings have been removed, copy them # from your system's nginx.conf. # Tested with nginx 0.8.35. http { # Compression - requires gzip and gzip static modules. gzip on; gzip_static on; gzip_vary on; gzip_http_version 1.1; gzip_min_length 700; # Compression levels over 6 do not give an appreciable improvement # in compression ratio, but take more resources. gzip_comp_level 6; # IE 6 and lower do not support gzip with Vary correctly. gzip_disable "msie6"; # Before nginx 0.7.63: #gzip_disable "MSIE [1-6]\."; # Catch-all server for requests to invalid hosts. # Also catches vulnerability scanners probing IP addresses. server { # default specifies that this block is to be used when # no other block matches. listen 80 default; server_name bogus; return 444; root /var/empty; } # If you have domains with and without www prefix, # redirect one to the other. server { # Default port is 80. #listen 80; server_name myforums.com; # A trick from http://wiki.nginx.org/Pitfalls#Taxing_Rewrites: rewrite ^ http://www.myforums.com$request_uri permanent; # Equivalent to: #rewrite ^(.*)$ http://www.myforums.com$1 permanent; } # The actual board domain. server { #listen 80; server_name www.myforums.com; root /path/to/phpbb; location / { # phpbb uses index.htm index index.php index.html index.htm; } # Deny access to internal phpbb files. location ~ /(config\.php|common\.php|includes|cache|files|store|images/avatars/upload) { deny all; # deny was ignored before 0.8.40 for connections over IPv6. # Use internal directive to prohibit access on older versions. internal; } # Pass the php scripts to fastcgi server specified in upstream declaration. location ~ \.php$ { fastcgi_pass php; # Necessary for php. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # Unmodified fastcgi_params from nginx distribution. include fastcgi_params; } # Deny access to version control system directories. location ~ /\.svn|/\.git { deny all; internal; } } # If running php as fastcgi, specify php upstream. upstream php { server unix:/tmp/php.sock; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 18
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AUTHORS
3.50 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
auth_api.html
13.14 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
bg_header.gif
690 B
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CHANGELOG.html
212.74 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
coding-guidelines.html
105.95 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
COPYING
14.77 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
corners_left.gif
55 B
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
corners_left.png
195 B
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
corners_right.gif
56 B
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
corners_right.png
201 B
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FAQ.html
18.63 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hook_system.html
24.91 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
INSTALL.html
35.38 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lighttpd.sample.conf
1.47 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nginx.sample.conf
2.56 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README.html
20.77 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
site_logo.gif
3.35 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stylesheet.css
5.52 KB
lrw-r--r--
2024-11-22 17:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).