Skip to content

Commit

Permalink
Update GitHub reverse proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed Nov 11, 2024
1 parent 34c126d commit ed2400b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/conf/webserver/nginx-github.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ http {
add_header Pragma "public";
add_header Cache-Control "public, must-revalidate, proxy-revalidate"; # Production
expires 7d; # Indicate that the resource can be cached for 1 week # Production
try_files $uri =404;
if (!-f $request_filename) {
rewrite ^/([a-z0-9A-Z]+)/(.*) /$2 break;
}
}

location / {
Expand Down

0 comments on commit ed2400b

Please sign in to comment.