Skip to content

Commit c3dd228

Browse files
remove static file handling from nginx config
1 parent 2ff56a5 commit c3dd228

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

operations/nginx-cookbook.conf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
server {
22
server_name recipes.for-all.dev;
33

4-
# Serve static files directly
5-
location ~* \.(png|jpg|jpeg|gif|ico|svg|css|js|woff|woff2|ttf|eot|webp)$ {
6-
root /home/quinn/cookbook/book/_build/site/public;
7-
try_files $uri =404;
8-
expires 1y;
9-
add_header Cache-Control "public, immutable";
10-
}
11-
12-
# Proxy everything else to MyST server
134
location / {
145
proxy_pass http://localhost:3000;
156
proxy_http_version 1.1;

0 commit comments

Comments
 (0)