Skip to content

Instantly share code, notes, and snippets.

View arthursalvtr's full-sized avatar

Arthur Salvatore arthursalvtr

View GitHub Profile
@arthursalvtr
arthursalvtr / vue-nginx.conf
Created July 28, 2021 03:35 — forked from namdau/vue-nginx.conf
Nginx config for Vuejs project with an API upstream
server {
server_name default_server;
# This is for Let's Encrypt certification renewal
include /etc/nginx/snippets/letsencrypt.conf;
# Redirect to https
location / {
return 301 https://$server_name$request_uri;
}
}