Skip to content

Instantly share code, notes, and snippets.

@febnug
Created February 16, 2024 23:11
Show Gist options
  • Save febnug/b4694f0e4a435b627980ba39a9ddb76e to your computer and use it in GitHub Desktop.
Save febnug/b4694f0e4a435b627980ba39a9ddb76e to your computer and use it in GitHub Desktop.
reverse proxy apache2
<VirtualHost *:80>
ProxyRequests Off
ProxyPreserveHost On
ServerName site.name.tls
<Proxy *>
Require all granted
</Proxy>
ProxyPass "/" "<ip_or_website:19999/" connectiontimeout=5 timeout=30 keepalive=on
ProxyPassReverse "/" "ip_or_website:19999/"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment