Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost _default_:443>
- DocumentRoot "/srv/http"
- Alias /firefly/ "/srv/firefly/public/"
- <Directory "/srv/firefly/public/">
- Require all granted
- </Directory>
- </VirtualHost>
- 192.168.1.1 - - [20/Feb/2019:21:57:18 -0500] "GET /firefly/ HTTP/1.1" 302 400
- 192.168.1.1 - - [20/Feb/2019:21:57:18 -0500] "GET /firefly/login HTTP/1.1" 404 1012
- location ^~ /firefly-iii/ {
- deny all;
- }
- location ^~ /budget {
- alias /var/www/firefly-iii/public;
- try_files $uri $uri/ @budget;
- location ~* .php(?:$|/) {
- include snippets/fastcgi-php.conf;
- fastcgi_param SCRIPT_FILENAME $request_filename;
- fastcgi_param modHeadersAvailable true; #Avoid sending the security headers twice
- fastcgi_pass unix:/run/php/php7.2-fpm.sock;
- }
- }
- location @budget {
- rewrite ^/budget/(.*)$ /budget/index.php/$1 last;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement