Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName mydomain.com
- Redirect permanent / https://mydomain.com/
- RewriteEngine On
- RewriteCond %{HTTPS} off
- RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
- RewriteCond %{SERVER_NAME} =mydomain.com
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- <VirtualHost *:443>
- ServerName mydomain.com
- SSLProtocol TLSv1 TLSv1.1 TLSv1.2
- SSLEngine on
- SSLProxyEngine on
- SSLCipherSuite "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EECDH$
- SSLHonorCipherOrder on
- Header set Strict-Transport-Security "max-age=31536000"
- DocumentRoot "/usr/share/jitsi-meet"
- <Directory "/usr/share/jitsi-meet">
- Options Indexes MultiViews Includes FollowSymLinks
- AddOutputFilter Includes html
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- ErrorDocument 404 /static/404.html
- Alias "/config.js" "/etc/jitsi/meet/mydomain.com-config.js"
- Alias /forum http://10.202.1.37/forum
- <Location /config.js>
- Require all granted
- </Location>
- ProxyPreserveHost on
- ProxyPass /http-bind http://localhost:5280/http-bind/
- ProxyPassReverse /http-bind http://localhost:5280/http-bind/
- RewriteEngine on
- RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
- Include /etc/letsencrypt/options-ssl-apache.conf
- SSLCertificateFile /etc/letsencrypt/live/mydomain.com-0001/full$
- SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.com-0001/pri$
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
Add Comment
Please, Sign In to add comment