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.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
apache2 /
sites-enabled /
Delete
Unzip
Name
Size
Permission
Date
Action
000-api.conf
2.55
KB
-rw-r--r--
2026-06-19 11:56
000-dmoj.conf
2.74
KB
-rw-r--r--
2026-06-19 11:56
000-kougaku.conf
2.25
KB
-rw-r--r--
2026-06-19 11:57
000-kougakubu.conf
2.27
KB
-rw-r--r--
2026-06-19 11:57
000-quiz.conf
2.21
KB
-rw-r--r--
2026-06-19 11:57
000-tsurugi.conf
2.21
KB
-rw-r--r--
2026-06-19 11:55
Save
Rename
<VirtualHost *:80> ServerName dmoj.tsuru-no-tsurugi.tokyo Define SubDomain dmoj ServerAdmin tomob0814@icloud.com #DocumentRoot /var/www/html/kougakubu/htdocs/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Redirect permanent / https://dmoj.tsuru-no-tsurugi.tokyo RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{SERVER_NAME} =dmoj.tsuru-no-tsurugi.tokyo RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> <VirtualHost *:443> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName dmoj.tsuru-no-tsurugi.tokyo ServerAdmin tomob0814@icloud.com #DocumentRoot /var/www/html/kougakubu/htdocs/ # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn #SSLEngine on #SSLCertificateFile /etc/letsencrypt/live/tsuru-no-tsurugi.tokyo-001/fullchain.pem #SSLCertificateKeyFile /etc/letsencrypt/live/dmoj.tsuru-no-tsurugi.tokyo/privkey.pem #SSLCACertificateFile /etc/letsencrypt/live/dmoj.tsuru-no-tsurugi.tokyo/chain.pem # DMOJ Proxy Setting ProxyRequests Off ProxyPass / http://192.168.0.18:8080/ ProxyPassReverse / http://192.168.0.18:8080/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on #SSLCertificateFile /etc/ssl/certs/server.crt #SSLCertificateKeyFile /etc/ssl/private/server.key SSLCACertificateFile /etc/letsencrypt/live/tsuru-no-tsurugi.tokyo-0001/chain.pem # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf SSLCertificateFile /etc/letsencrypt/live/dmoj.tsuru-no-tsurugi.tokyo/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/dmoj.tsuru-no-tsurugi.tokyo/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet