213656fc2e
This commit aims at improving the user experience: - Use a dedicated `Dockerfile` for the frontend - Run the backend and frontend in "watch"/dev mode in Docker - Do not start all Docker instances for small tasks
26 lines
390 B
Plaintext
26 lines
390 B
Plaintext
server {
|
|
listen 3000;
|
|
listen 8080;
|
|
server_name localhost;
|
|
server_tokens off;
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
location / {
|
|
try_files $uri index.html $uri/ =404;
|
|
}
|
|
|
|
location /teams/ {
|
|
error_page 404 /teams/[id]/;
|
|
}
|
|
|
|
location /mail-domains/ {
|
|
error_page 404 /mail-domains/[slug]/;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
location = /404.html {
|
|
internal;
|
|
}
|
|
}
|