46 Commits
doot ... nginx

Author SHA1 Message Date
1db6f02fba making debugging not a problem of production route 2023-02-11 22:31:06 -06:00
b7d448790d yay 2023-02-11 22:03:36 -06:00
5254ad3172 Merge branch 'nginx' of https://github.com/asimonson1125/asimonson1125.github.io into nginx 2023-02-11 21:44:53 -06:00
bd104f6aaf here we go again 2023-02-11 21:39:32 -06:00
fa77871d0d Merge pull request #20 from asimonson1125/nginxdev
catch nginx-dev branch up to main
2023-02-11 21:36:17 -06:00
e2206feaf4 Merge branch 'nginx' into nginxdev 2023-02-11 21:36:04 -06:00
30a9c89f41 durrr 2023-01-30 13:23:34 -06:00
bdfffb46df test 2023-01-30 13:11:05 -06:00
536832f582 Merge pull request #19 from asimonson1125/debug
catch up debugger branch
2023-01-30 13:08:26 -06:00
ba7fb575ad Merge branch 'nginx' into debug 2023-01-30 13:08:06 -06:00
e09bbf19a9 dead 2023-01-29 14:00:22 -06:00
c6e05ed716 lkn j 2023-01-29 13:57:27 -06:00
7731a2bafc reverse death 2023-01-29 13:54:07 -06:00
dd8b15e6e5 hjbn 2023-01-29 13:49:04 -06:00
97ab6440a8 aoetrmjhgb 2023-01-29 13:39:12 -06:00
52b0b48f06 death 2023-01-29 13:35:57 -06:00
6996e5ad0f pain *and* suffering 2023-01-29 13:29:39 -06:00
0ef8ad597f sick to my stomach 2023-01-29 13:25:00 -06:00
15c9aef875 almost upset that I made progress 2023-01-29 10:53:58 -06:00
bd757e18ed x 2023-01-29 10:45:10 -06:00
ead8c365e2 n 2023-01-29 10:37:06 -06:00
81c52d3758 i 2023-01-29 10:31:15 -06:00
a8d22ceb50 g 2023-01-29 10:23:00 -06:00
de64e4e944 n 2023-01-29 10:17:17 -06:00
2f58e0f734 fixing low-iq moves 2023-01-29 10:05:07 -06:00
8d9010801b actually create user 2023-01-29 09:59:01 -06:00
acea74be61 e 2023-01-29 09:51:21 -06:00
d75572c39d if I remembmer to push everything dang 2023-01-29 09:48:12 -06:00
1e9b2026cc last one was stupid. this is less stupid. 2023-01-29 09:47:39 -06:00
c60023f185 idfk, im doing my best 2023-01-29 09:43:16 -06:00
4a610023d4 idk 2023-01-29 09:34:59 -06:00
bda2e6aff5 silence logs 2023-01-29 00:08:45 -06:00
5e856882e2 I forgot to re-add supervisor :( 2023-01-28 23:58:08 -06:00
67e9f6d4ab chowned 2023-01-28 23:48:06 -06:00
a75e425cdc wildcard 2023-01-28 23:42:00 -06:00
5867b0831d last chmod -R try 2023-01-28 23:38:18 -06:00
d563cfbf82 remove user specificity 2023-01-28 23:35:10 -06:00
e65ca46ac8 chmod specificity 2023-01-28 23:30:20 -06:00
b7a205d9e0 remove host paths from chmod 2023-01-28 23:25:02 -06:00
b482b38a35 placing my faith in history 2023-01-28 23:18:11 -06:00
74bdbaa498 create log folder via docker 2023-01-28 23:14:47 -06:00
b767d2fbe8 cut out supervisor 2023-01-28 22:32:44 -06:00
5655ad688f Merge branch 'nginx' of https://github.com/asimonson1125/asimonson1125.github.io into nginx 2023-01-28 22:22:19 -06:00
9aecf28d7b try to make supervisord stop writing things 2023-01-28 22:22:08 -06:00
3974ce57d3 Update Dockerfile 2023-01-28 21:58:46 -06:00
4afbbb2887 nginx research results, no way this works 2023-01-28 21:49:59 -06:00
2 changed files with 25 additions and 3 deletions

18
ecs-task.json Normal file
View File

@@ -0,0 +1,18 @@
{
"containerDefinitions": [
{
"name": "app",
"image": "asimonson1125/asimonson1125.github.io",
"essential": true,
"memory": 500,
"cpu": 10,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80
}
]
}
],
"family": "Portfolio"
}

View File

@@ -4,8 +4,12 @@ server {
return 301 https://asimonson.com$request_uri; return 301 https://asimonson.com$request_uri;
} }
server { server {
listen 8080; listen 8080 http2;
server_name asimonson.com; server_name nginx-dev-asimonson.apps.okd4.csh.rit.edu;
gzip on;
gzip_types text/plain text/javascript text/css;
gunzip on;
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' *.cloudflare.com *.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' 'unsafe-eval' *.cloudflare.com *.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;
@@ -13,9 +17,9 @@ server {
add_header X-Frame-Options 'SAMEORIGIN'; add_header X-Frame-Options 'SAMEORIGIN';
location / { location / {
include proxy_params;
proxy_pass http://localhost:5000/; proxy_pass http://localhost:5000/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} }
} }