diff --git a/admin_only/portal.conf b/admin_only/portal.conf deleted file mode 100644 index 0ceb527a..00000000 --- a/admin_only/portal.conf +++ /dev/null @@ -1,23 +0,0 @@ -server { - listen 80; - server_name 100.25.1.222 beta.portal.aws.biochemistry.gwu.edu; - return 301 https://$host$request_uri; -} - -server { - - listen 443 ssl; - server_name 100.25.1.222 beta.portal.aws.biochemistry.gwu.edu; - ssl_certificate /etc/pki/tls/certs/portal.aws.biochemistry.gwu.edu.crt; - ssl_certificate_key /etc/pki/tls/private/portal.aws.biochemistry.gwu.edu.key; - - # Biocompute API access - location /api/ { - proxy_set_header Host $http_host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://unix:/var/run/bco_api.sock; - } - -} diff --git a/admin_only/portal_users.conf b/admin_only/portal_users.conf deleted file mode 100644 index 8d79588c..00000000 --- a/admin_only/portal_users.conf +++ /dev/null @@ -1,23 +0,0 @@ -server { - listen 80; - server_name 100.25.1.222 beta.portal.aws.biochemistry.gwu.edu; - return 301 https://$host$request_uri; -} - -server { - - listen 443 ssl; - server_name 100.25.1.222 beta.portal.aws.biochemistry.gwu.edu; - ssl_certificate /etc/pki/tls/certs/portal.aws.biochemistry.gwu.edu.crt; - ssl_certificate_key /etc/pki/tls/private/portal.aws.biochemistry.gwu.edu.key; - - # Portal users access - location /users/ { - proxy_set_header Host $http_host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://unix:/var/run/portal_users.sock; - } - -} diff --git a/admin_only/portal_users.service b/admin_only/portal_users.service deleted file mode 100644 index c7d0645a..00000000 --- a/admin_only/portal_users.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=portalusers gunicorn daemon -After=network.target - -[Service] -User=beta_portal_user -Group=nginx -WorkingDirectory=/home/beta_portal_user/portal/userdb/portalusers/ -ExecStart=/home/beta_portal_user/portal/userdb/portalusers/env/bin/gunicorn --workers 3 --bind 127.0.0.1:8080 portalusers.wsgi:application --access-logfile - - -[Install] -WantedBy=multi-user.target