mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 03:23:41 +02:00
Removed router.php from config.
Renamed folder to victorwesterlund.com and removed fixed /router.php location from api
This commit is contained in:
parent
c0df341818
commit
6588be968d
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ server {
|
||||||
ssl on;
|
ssl on;
|
||||||
include snippets/ssl.conf;
|
include snippets/ssl.conf;
|
||||||
|
|
||||||
root /var/www/github_victorwesterlund_victorwesterlund.com/public;
|
root /var/www/victorwesterlund.com/public;
|
||||||
error_page 404 403 /netwatch/PAGE_NOT_FOUND.html;
|
error_page 404 403 /netwatch/PAGE_NOT_FOUND.html;
|
||||||
|
|
||||||
location \ {
|
location \ {
|
||||||
|
@ -57,10 +57,10 @@ server {
|
||||||
ssl on;
|
ssl on;
|
||||||
include snippets/ssl.conf;
|
include snippets/ssl.conf;
|
||||||
|
|
||||||
root /var/www/github_victorwesterlund_victorwesterlund.com/api/endpoint;
|
root /var/www/victorwesterlund.com/api/endpoint;
|
||||||
|
|
||||||
location \* {
|
location \* {
|
||||||
try_files /router.php$request_uri =404;
|
try_files $uri.php $uri/ =404;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
include snippets/fastcgi-php-router.conf;
|
include snippets/fastcgi-php-router.conf;
|
||||||
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
||||||
|
|
Loading…
Add table
Reference in a new issue