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

use 'return' over 'rewrite' #349

Merged
merged 1 commit into from
Jun 23, 2014

Conversation

rabbitt
Copy link
Contributor

@rabbitt rabbitt commented Jun 23, 2014

use return instead of rewrite for simple redirects (e.g., www -> naked domain)
see: http://nginx.org/en/docs/http/converting_rewrite_rules.html

@jfryman
Copy link
Contributor

jfryman commented Jun 23, 2014

jfryman pushed a commit that referenced this pull request Jun 23, 2014
@jfryman jfryman merged commit b0a1df3 into voxpupuli:master Jun 23, 2014
@rabbitt rabbitt deleted the feature/return-instead-of-rewrite branch June 23, 2014 20:29
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
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

Successfully merging this pull request may close these issues.

2 participants