Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name ssh.example.org;
- access_log /srv/www/ssh.example.org/logs/access.log;
- error_log /srv/www/ssh.example.org/logs/error.log;
- index index.php index.html index.htm;
- location / {
- # For everything else
- root /srv/www/ssh.example.org/public_html;
- }
- location ~ ^/~(?<d>[^/]*)(?<f>.*)? {
- alias "/home/$d/public_html$f";
- location ~ \.php {
- root "/home/$d/public_html";
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root$f;
- fastcgi_pass unix:/shm/php-fpm.sock;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement