Commit 84c81075 authored by Chris Hines's avatar Chris Hines
Browse files

make a separate install for the domain

parent 826ccaaa
Pipeline #12959 passed with stages
in 7 minutes and 11 seconds
......@@ -60,3 +60,17 @@ deploy_prod:
- cp ./nginx_snippets/* /etc/nginx/snippets
- build
stage: deploy
- prod@hpc-team/strudelv2_spa
- deploy_prod
- echo "deploying"
- ls -l
- ./
- cp ./nginx_snippets/* /etc/nginx/snippets
- build
mkdir -p /opt/strudel2/spa/
cp /etc/nginx/snippets
cp -r dist/* /opt/strudel2/spa/
cp -r /opt/strudel2/spa/ /opt/strudel2/spa/
echo "you must include /etc/nginx/snippets/sv2.conf in your nginx site config manually"
location ~ /.* {
root /opt/strudel2/spa/sv2/;
#alias /var/www/sv2/dist/sv2/;
try_files $uri$args $uri$args/ $uri/ /index.html;
add_header Content-Security-Policy "default-src 'self' *; style-src 'self' 'unsafe-inline'; font-src 'self'";
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains" always;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
"name": "Monash",
"tes": "",
"tws": ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment