Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ┌─[root][kanapa][/etc/apache2/sites-enabled]
- └─▪ cat 999-default.conf
- #https://www.prettifier.net/apache/
- <IfModule mod_ssl.c>
- SSLStaplingCache shmcb:/var/run/apache2/stapling_cache(128000)
- <VirtualHost _default_:443>
- ServerAdmin webmaster@localhost
- use SSLed
- ServerName XXX.TLD
- DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/proxy_error.log
- CustomLog ${APACHE_LOG_DIR}/proxy_access.log combined
- ProxyRequests Off
- ProxyPreserveHost Off
- DirectoryIndex index.html index.php /_h5ai/public/index.php
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ########################################################### migrated to dockerz ##############
- # qbit - 2nd kill zone !!!!!
- RewriteEngine On
- RewriteRule ^/command/?(.*)$ /torrent/command/$1 [P]
- <Location /qbt/>
- ProxyPass http://192.168.88.219:9092/
- ProxyPassReverse http://192.168.88.219:9092/
- </Location>
- # end of killzone !!!!
- <Location /radarr>
- ProxyPass http://192.168.88.219:7878/radarr connectiontimeout=5 timeout=300
- ProxyPassReverse http://192.168.88.219:7878/radarr
- </Location>
- <Location /seriale>
- ProxyPass http://192.168.88.219:8998/seriale connectiontimeout=5 timeout=300
- ProxyPassReverse http://192.168.88.219:8998/seriale
- </Location>
- <Location /anime>
- ProxyPass http://192.168.88.219:8999/anime connectiontimeout=5 timeout=300
- ProxyPassReverse http://192.168.88.219:8999/anime
- </Location>
- # portainer zone - touch and will kill on sight !
- <Location /portainer/>
- ProxyPass http://192.168.88.219:9000/
- ProxyPassReverse http://192.168.88.219:9000/
- </Location>
- <Location /portainer/api/websocket/>
- RequestHeader set Upgrade $http_upgrade;
- RequestHeader set Connection "upgrade"
- ProxyPass ws://192.168.88.219:9000/api/websocket/
- </Location>
- # end of killzone
- <Location /filebrowser/>
- ProxyPass http://192.168.88.219:8585/filebrowser
- ProxyPassReverse http://192.168.88.219:8585/filebrowser
- ProxyPreserveHost On
- RewriteEngine On
- RewriteCond %{HTTP:Connection} Upgrade [NC]
- RewriteCond %{HTTP:Upgrade} websocket [NC]
- RewriteRule (.*) ws://192.168.88.219:8585/$1 [P,L]
- </Location>
- <Location /octoprint/>
- RequestHeader set X-SCRIPT-NAME /octoprint/
- RequestHeader set X-SCHEME https
- ProxyPassReverse http://192.168.88.218:5000/
- RewriteEngine on
- RewriteCond %{HTTP:UPGRADE} =websocket [NC]
- RewriteRule /octoprint/(.*) ws://192.168.88.218/$1 [P,L]
- RewriteCond %{HTTP:UPGRADE} !=websocket [NC]
- RewriteRule /octoprint/(.*) http://192.168.88.218/$1 [P,L]
- </Location>
- ........
- </VirtualHost>
- </IfModule>
Add Comment
Please, Sign In to add comment