Skip to content

Commit

Permalink
Merge pull request #330 from hubmapconsortium/yuanzhou/collections
Browse files Browse the repository at this point in the history
nginx tweaks
  • Loading branch information
yuanzhou authored Nov 19, 2024
2 parents 798e454 + 7b107d4 commit 413730b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 54 deletions.
1 change: 0 additions & 1 deletion hubmap-auth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ module_hotfixes=true\n'\
RUN yum install -y yum-utils && \
yum-config-manager --enable nginx-mainline && \
yum install -y nginx && \
mv nginx.conf /etc/nginx/nginx.conf && \
pip install -r src/requirements.txt && \
chmod +x start.sh && \
yum clean all
Expand Down
41 changes: 0 additions & 41 deletions hubmap-auth/nginx.conf

This file was deleted.

6 changes: 2 additions & 4 deletions nginx/conf.d-dev/hubmap-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway.log;
error_log /usr/src/app/log/nginx_error_gateway.log warn;

location = /favicon.ico {
Expand Down Expand Up @@ -91,8 +90,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log;
error_log /usr/src/app/log/nginx_error_gateway_for_ingest-api_and_assets.log warn;

location = /favicon.ico {
Expand Down
6 changes: 2 additions & 4 deletions nginx/conf.d-prod/hubmap-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway.log;
error_log /usr/src/app/log/nginx_error_gateway.log warn;

location = /favicon.ico {
Expand Down Expand Up @@ -91,8 +90,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log;
error_log /usr/src/app/log/nginx_error_gateway_for_ingest-api_and_assets.log warn;

location = /favicon.ico {
Expand Down
6 changes: 2 additions & 4 deletions nginx/conf.d-test/hubmap-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway.log;
error_log /usr/src/app/log/nginx_error_gateway.log warn;

location = /favicon.ico {
Expand Down Expand Up @@ -91,8 +90,7 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

# Logging to the mounted volume for outside container access
# Use the upstream_log log_format defiend in the main nginx.conf for better debugging
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log upstream_log;
access_log /usr/src/app/log/nginx_access_gateway_for_ingest-api_and_assets.log;
error_log /usr/src/app/log/nginx_error_gateway_for_ingest-api_and_assets.log warn;

location = /favicon.ico {
Expand Down

0 comments on commit 413730b

Please sign in to comment.