We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb53bd commit ee0348eCopy full SHA for ee0348e
1 file changed
docs/hypernode-platform/nginx/how-to-use-nginx.md
@@ -158,15 +158,17 @@ You can expand this map with multiple rules:
158
map $uri $out_redirect {
159
~/old-page /new-page;
160
~/blog/(.*) /articles/$1;
161
-~/deprecated /; }
+~/deprecated /;
162
+}
163
```
164
165
Step 2: Apply the Redirect in the Server Block
166
167
`/data/web/nginx/server.*`
168
169
```nginx
-if ($out_redirect) { rewrite 301 $out_redirect;
170
+if ($out_redirect) {
171
+rewrite 301 $out_redirect;
172
}
173
174
0 commit comments