-
-
Save Jirido/f45da3eb088f872173368e3ffd48ad66 to your computer and use it in GitHub Desktop.
pdz.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerName paradiz.tk | |
ServerAlias www.paradiz.tk | |
DocumentRoot /var/www/wowi/httpdocs | |
<Directory "/var/www/wowi/httpdocs"> | |
#Options +Indexes +FollowSymLinks +ExecCGI +Includes +MultiViews | |
Options None | |
Order allow,deny | |
Allow from all | |
AllowOverride FileInfo All | |
Require all granted | |
</Directory> | |
#then i tried to get it going with.. | |
#ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/wowi.sock|fcgi://localhost/var/www/wowi" | |
<FilesMatch \.php$> | |
SetHandler "proxy:unix:/var/run/php-fpm/wowi.sock|fcgi://wowi/" | |
</FilesMatch> | |
<Proxy fcgi://wowi> | |
ProxySet max=10 connectiontimeout=5 timeout=240 | |
</Proxy> | |
#SSLCertificateFile /etc/letsencrypt/live/merimade.tk/fullchain.pem | |
#SSLCertificateKeyFile /etc/letsencrypt/live/merimade.tk/privkey.pem | |
#Include /etc/letsencrypt/options-ssl-apache.conf | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment