Transférer les fichiers vers ''
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0157c10d73
commit
cea41bc171
@ -0,0 +1,49 @@
|
|||||||
|
# the events block is required
|
||||||
|
events{}
|
||||||
|
|
||||||
|
http {
|
||||||
|
# include the default mime.types to map file extensions to MIME types
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
|
||||||
|
server {
|
||||||
|
# set the root directory for the server (we need to copy our
|
||||||
|
# application files here)
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
|
# set the default index file for the server (Angular generates the
|
||||||
|
# index.html file for us and it will be in the above directory)
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
# specify the configuration for the '/' location
|
||||||
|
location / {
|
||||||
|
# try to serve the requested URI. if that fails then try to
|
||||||
|
# serve the URI with a trailing slash. if that fails, then
|
||||||
|
# serve the index.html file; this is needed in order to serve
|
||||||
|
# Angular routes--e.g.,'localhost:8080/customer' will serve
|
||||||
|
# the index.html file
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# server {
|
||||||
|
# listen 0.0.0.0:8080;
|
||||||
|
# listen [::]:8080;
|
||||||
|
# default_type application/octet-stream;
|
||||||
|
|
||||||
|
# gzip on;
|
||||||
|
# gzip_comp_level 6;
|
||||||
|
# gzip_vary on;
|
||||||
|
# gzip_min_length 1000;
|
||||||
|
# gzip_proxied any;
|
||||||
|
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
# gzip_buffers 16 8k;
|
||||||
|
# gunzip on;
|
||||||
|
# client_max_body_size 256M;
|
||||||
|
|
||||||
|
# root /usr/share/nginx/html;
|
||||||
|
|
||||||
|
# location / {
|
||||||
|
# try_files $uri $uri/ /index.html =404;
|
||||||
|
# }
|
||||||
|
# }
|
Loading…
Reference in new issue