bug squashing

This commit is contained in:
2023-01-29 14:25:39 -06:00
parent e9d9d4baed
commit f99ad56e1d
4 changed files with 11 additions and 5 deletions

View File

@@ -1,9 +1,16 @@
server { server {
listen 8080; listen 8080;
server_name www.asimonson.com;
return 301 https://asimonson.com$request_uri;
}
server {
listen 8080;
server_name asimonson.com; server_name asimonson.com;
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' *.chesscomfiles.com *.chess.com *.googletagmanager.com cdn.jsdelivr.net www.google-analytics.com ajax.googleapis.com;"; add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' *.chesscomfiles.com *.chess.com *.googletagmanager.com cdn.jsdelivr.net www.google-analytics.com ajax.googleapis.com;";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options 'nosniff';
add_header X-Frame-Options 'SAMEORIGIN';
location / { location / {
proxy_pass http://localhost:5000/; proxy_pass http://localhost:5000/;
@@ -11,5 +18,4 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} }
return 301 https://$server_name$request_uri;
} }

View File

@@ -1,6 +1,6 @@
@font-face { @font-face {
font-family: "neon-future"; font-family: "neon-future";
src: url("../fonts/Neon Future.ttf") src: url("../fonts/NeonFuture.ttf")
} }
@font-face { @font-face {

View File

@@ -37,7 +37,7 @@
"content": "My Resume, made in LaTeX with a custom design derived by the AltaCV template on OverLeaf", "content": "My Resume, made in LaTeX with a custom design derived by the AltaCV template on OverLeaf",
"links": [ "links": [
["github", "https://github.com/asimonson1125/Resume", "git repo"], ["github", "https://github.com/asimonson1125/Resume", "git repo"],
["globe", "https://asimonson.com/Resume.pdf/", "Resume"] ["globe", "https://asimonson.com/Resume.pdf", "Resume"]
] ]
}, },
"Digital Portfolio": { "Digital Portfolio": {