Skip to content

Instantly share code, notes, and snippets.

@Jirido
Last active March 19, 2019 02:33
Show Gist options
  • Save Jirido/f45da3eb088f872173368e3ffd48ad66 to your computer and use it in GitHub Desktop.
Save Jirido/f45da3eb088f872173368e3ffd48ad66 to your computer and use it in GitHub Desktop.
pdz.conf
<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