We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4665657 commit 1f9fdbfCopy full SHA for 1f9fdbf
1 file changed
deployment/default.conf
@@ -22,10 +22,18 @@ server {
22
23
expires $expires;
24
25
+ if (!-f $request_filename) {
26
+ # Remove trailing slash
27
+ #rewrite ^(.+)/+$ $1 permanent;
28
+
29
+ # Add trailing slash
30
+ rewrite ^([^.]*[^/])$ https://docs.duendesoftware.com$1/ permanent;
31
+ }
32
33
location / {
34
root /usr/share/nginx/html;
35
index index.html index.htm;
- add_header X-REVISION $APPLICATION_VERSION;
36
+ #add_header X-REVISION $APPLICATION_VERSION;
37
}
38
39
include /etc/nginx/extra/*.conf;
0 commit comments