Skip to content

Commit

Permalink
Fixes for url changes from cooperatives to business
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanpa-aot committed Jun 22, 2020
1 parent 572c41a commit f82ec67
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions auth-web/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VUE_APP_PATH = /cooperatives/auth/
VUE_APP_PATH_COOPS = cooperatives
VUE_APP_PATH = /business/auth/
VUE_APP_PATH_COOPS = business
4 changes: 2 additions & 2 deletions auth-web/.env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VUE_APP_PATH = /cooperatives/auth/
VUE_APP_PATH_COOPS = cooperatives
VUE_APP_PATH = /business/auth/
VUE_APP_PATH_COOPS = business
16 changes: 8 additions & 8 deletions auth-web/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ http {
default_type application/octet-stream;
server_tokens off;
underscores_in_headers on;

# Use a w3c standard log format
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;


server {

# add in most common security headers
add_header Content-Security-Policy "default-src * data: blob: filesystem: 'unsafe-inline' 'unsafe-eval'";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
add_header X-Content-Type-Options "nosniff";
add_header X-XSS-Protection 1;
add_header X-Frame-Options DENY;



listen 8080;
server_name _;

Expand All @@ -47,7 +47,7 @@ http {
access_log /dev/stdout;
root /app;

location /cooperatives/auth {
location /business/auth {
alias /app;
try_files $uri /index.html;
gzip on;
Expand Down
2 changes: 1 addition & 1 deletion auth-web/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
manifestOptions: {
name: 'Cooperatives Online',
short_name: 'Cooperatives Online',
start_url: '/cooperatives/auth/',
start_url: '/business/auth/',
display: 'standalone',
theme_color: '#003366',
background_color: '#fcba19',
Expand Down

0 comments on commit f82ec67

Please sign in to comment.