Skip to content

Commit

Permalink
nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mstgnz committed Aug 7, 2024
1 parent d2e510b commit 901ea33
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions cdn.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
server {
listen 80;
listen 443 http2;

server_name cdn.abc.com;

access_log /var/log/nginx/cdn-golang-access.log;
error_log /var/log/nginx/cdn-golang-error.log;

client_max_body_size 100M;

location / {
proxy_pass http://localhost:8080;
}
}

server {
listen 80;
listen 443 http2;

server_name minio.abc.com;

access_log /var/log/nginx/cdn-minio-access.log;
error_log /var/log/nginx/cdn-minio-error.log;

client_max_body_size 100M;

location / {
proxy_pass http://127.0.0.1:9001;
}
}

0 comments on commit 901ea33

Please sign in to comment.