Reputation
1,777
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 6 19
Newest
 Enlightened
Impact
~157k people reached

Aug
22
awarded  Enlightened
Aug
22
awarded  Nice Answer
Apr
27
comment Why this nginx rewrite rule add trailing slash?
Sure. Glad to know it worked.
Apr
27
answered Why this nginx rewrite rule add trailing slash?
Apr
27
comment Nginx & PHP-FPM: Query parameters won't be passed to PHP
Turning on debugging and watching the log would help. nginx.org/en/docs/debugging_log.html . Most distributions come with debugging pre-compiled.
Apr
27
comment Why this nginx rewrite rule add trailing slash?
Look at the location block. You are matching a / and then inside the block too, you are matching a /. If you need to eliminate /, you need to ignore it somewhere. Probably, you are looking for the following solution... location / { rewrite ^/?(.*) https://example.com/ar$1 permanent; }.
Apr
24
comment Nginx redirects http request to one vhost
Are you sure that it is Nginx that does the redirect?
Apr
24
comment Installing SSL certificate on nginx server
Your site works fine. So, it was likely the DNS propagation issue. You may want to mark @EEAA's answer as the correct answer, since it helped you.
Apr
24
comment nginx - Allow any http-traffic that is not x-forwarded-for
What have you tried so far? What's your current config?
Jan
29
awarded  Nice Answer
Nov
26
awarded  Yearling
Sep
30
awarded  Explainer
Jan
28
answered Is it bad to redirect http to https?
Jan
2
comment Varnish, Nginx & SSL
While Varnish doesn't support SSL, it can be used along with Nginx and SPDY. For such a setup, the server stack would look like... Nginx (for SSL termination) => Varnish (for caching) => Nginx (as a simple web server) => application. I hope that helps!
Nov
26
awarded  Yearling
Nov
6
comment How can I set up Varnish to cache only static content?
What have you tried so far?
Nov
4
comment Cache Busting and Include Files for Nginx
If someone's answer helped to arrive at the solution, remember to upvote and / or select it as the best answer!
Oct
29
comment Bash -x to file and email
Can you get some idea from gnu.org/software/bash/manual/html_node/Redirections.html ?
Oct
28
comment nginx codeigniter rewrite: Controller name conflicts with directory
Can you post your Apache rewrites?
Oct
28
comment Add separate domain name to Wordpress admin area with htaccess
` Can this be done with Wordpress?` No, this can't be done with WordPress.