-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathweb-proxy.conf
25 lines (21 loc) · 1005 Bytes
/
web-proxy.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<IfModule mod_ssl.c>
<VirtualHost *:443>
<Directory /var/www/web-proxy/public>
Options FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ServerAdmin webmaster@localhost
ServerName p.yehudae.net
ServerAlias *.p.yehudae.net
DocumentRoot /var/www/web-proxy/public/
ErrorLog ${APACHE_LOG_DIR}/web-proxy-error.log
CustomLog ${APACHE_LOG_DIR}/web-proxy-access.log combined
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php [L]
SSLCertificateFile /root/ssl/web-proxy/fullchain.pem
SSLCertificateKeyFile /root/ssl/web-proxy/privkey.pem
</VirtualHost>
</IfModule>