Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.217.105
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
nginx /
sites-enabled /
Delete
Unzip
Name
Size
Permission
Date
Action
nginx.conf
2.37
KB
-rw-r--r--
2025-02-27 21:14
Save
Rename
server { listen 8080; listen [::]:8080; # Change port to 443 and do the nginx ssl stuff if you want it. # Change server name to the HTTP hostname you are using. # You may also make this the default server by listening with default_server, # if you disable the default nginx server declared. server_name localhost; add_header X-UA-Compatible "IE=Edge,chrome=1"; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; charset utf-8; try_files $uri @icons; error_page 502 504 /502.html; location ~ ^/502\.html$|^/logo\.png$|^/robots\.txt$ { root /home/dmoj/site; } location @icons { root /home/dmoj/site/resources/icons; error_page 403 = @uwsgi; error_page 404 = @uwsgi; } location @uwsgi { uwsgi_read_timeout 600; # Change this path if you did so in uwsgi.ini uwsgi_pass unix:///tmp/dmoj-site.sock; include uwsgi_params; # uwsgi_param SERVER_SOFTWARE nginx/$nginx_version; } # location / { # root /var/www/html # } location /static { gzip_static on; expires max; root /var/www/html; # Comment out root, and use the following if it doesn't end in /static. #alias /static; } # Uncomment if you are using PDFs and want to serve it faster. # This location name should be set to DMOJ_PDF_PROBLEM_INTERNAL. #location /pdfcache { # internal; # root <path to pdf cache diretory, without the final /pdfcache>; # # Default from docs: # #root /home/dmoj-uwsgi/; #} # Uncomment if you are allowing user data downloads and want to serve it faster. # This location name should be set to DMOJ_USER_DATA_INTERNAL. #location /datacache { # internal; # root <path to data cache diretory, without the final /datacache>; # # # Default from docs: # #root /home/dmoj-uwsgi/; #} # Uncomment these sections if you are using the event server. location /event/ { proxy_pass http://127.0.0.1:15100/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 86400; } location /channels/ { proxy_read_timeout 120; proxy_pass http://127.0.0.1:15102; } }