Skip to content

Commit

Permalink
Try to get static_html directory working
Browse files Browse the repository at this point in the history
It works, but requests for a directory like /japanese/
don't serve the index.html inside it.

For #522
  • Loading branch information
Phil Gyford committed Dec 2, 2022
1 parent 0a88ac6 commit 0b05fea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ server {
rewrite ^/favicon.ico$ /static/hines/img/favicons/favicon.ico last;
# rewrite ^/robots.txt$ /static_html/robots.txt last;

charset utf-8;
charset utf-8;

# Max upload size
client_max_body_size 10M;

# Serve some static files from this directory:
root /webapps/hines/code/hines/static_html;
index index.html;

location = /favicon.ico {
access_log off;
log_not_found off;
Expand Down

0 comments on commit 0b05fea

Please sign in to comment.