Commit aad56a95 authored by Chris Hines's avatar Chris Hines
Browse files

auto deploy nginx snippets

parent 4ba29f54
Pipeline #10315 passed with stages
in 3 minutes and 28 seconds
......@@ -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;
}
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