Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some openish location directives... #5

Open
ianhobbs opened this issue May 31, 2018 · 1 comment
Open

Add some openish location directives... #5

ianhobbs opened this issue May 31, 2018 · 1 comment

Comments

@ianhobbs
Copy link

I'm using custom CMS like Runway which relies upon custom location blocks like:

### Match any other request
location / {
try_files $uri $uri/ @runway;
}

### Perch Runway
location @runway {
rewrite ^ /perch/core/runway/start.php last;
}

It would be nice to have multiple fields to spin out custom location directives like above.

@ajsalkeld
Copy link
Owner

How would this input look? Would it just be a 'custom' field that you type your rules into, or an 'advanced' tab that then gave options for custom try_files and rewrites in your chosen location?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants