Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 8, 2024
1 parent 5c1ee42 commit 1c3de8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ services:
dockerfile: Dockerfile
context: './nginx'
ports:
- "80:80"
- "80:80"

Empty file modified gradlew
100644 → 100755
Empty file.
9 changes: 4 additions & 5 deletions nginx/default.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
server {
listen 80;
server_name popcornmate.p-e.kr;
server_name *.amazonaws.com;

autoindex_localtime on;

if ($http_x_forwarded_proto != 'https') {
return 301 https://$host$request_uri;
}

error_log /var/log/nginx/error.log;

location /api {
proxy_pass http://server:8080;
Expand All @@ -22,4 +21,4 @@ server {
location /api/swagger-resources {
proxy_pass http://server:8080/api/swagger-resources;
}
}
}

0 comments on commit 1c3de8b

Please sign in to comment.