mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 03:23:41 +02:00
0.1.0_dev-11260308
This commit is contained in:
parent
97de527e46
commit
c5f103a129
4 changed files with 46 additions and 0 deletions
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
0
api/index.php
Normal file
0
api/index.php
Normal file
11
public/index.html
Normal file
11
public/index.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Victor Westerlund</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Too Early.. but not 425!</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
35
server.conf
Normal file
35
server.conf
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name www.victorwesterlund.com victorwesterlund.com;
|
||||||
|
|
||||||
|
return 301 https://www.victorwesterlund.com$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
|
server_name www.victorwesterlund.com;
|
||||||
|
|
||||||
|
ssl on;
|
||||||
|
include snippets/ssl.conf;
|
||||||
|
|
||||||
|
root /var/www/victorwesterlund.com;
|
||||||
|
|
||||||
|
location \ {
|
||||||
|
try_files $uri $uri.html $uri/ =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
include snippets/fastcgi-php.conf;
|
||||||
|
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /\.git {
|
||||||
|
deny all;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue