Skip to content
Snippets Groups Projects
Commit aad56a95 authored by Chris Hines's avatar Chris Hines
Browse files

auto deploy nginx snippets

parent 4ba29f54
No related branches found
No related tags found
4 merge requests!106if stat fails, display the error instead of immediately refreshing...,!99Dev,!51Test,!50auto deploy nginx snippets
Pipeline #10315 passed
......@@ -43,6 +43,7 @@ deploy_dev:
- echo "deploying dev"
- ls -l
- ./install.sh
- cp ./nginx_snippets/* /etc/nginx/snippets
dependencies:
- build
......@@ -56,5 +57,6 @@ deploy_prod:
- echo "deploying prod"
- ls -l
- ./install.sh
- cp ./nginx_snippets/* /etc/nginx/snippets
dependencies:
- build
location ~ /.* {
root /opt/strudel2/spa/sv2/;
#alias /var/www/sv2/dist/sv2/;
try_files $uri$args $uri$args/ $uri/ /index.html;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment