17 lines
306 B
Plaintext
17 lines
306 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.csr.html;
|
|
|
|
# Angular SSR static browser build uses index.csr.html as the SPA entrypoint.
|
|
location = /index.html {
|
|
try_files /index.csr.html =404;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.csr.html;
|
|
}
|
|
}
|