first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name example.com;
|
||||
root /var/www/ydwl-website;
|
||||
|
||||
# Serve the .gz files emitted by `npm run build` when the client supports gzip.
|
||||
gzip_static on;
|
||||
gzip_vary on;
|
||||
gzip_types text/plain text/css application/javascript application/json image/svg+xml application/xml;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user