Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- set $branched_location @some_named_location;
- if ( some_condition ) {
- set $branched_location @some_other_named_location;
- }
- location / {
- try_files $uri $branched_location;
- }
- location @some_named_location {
- }
- location @some_other_named_location {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement