203 reputation
1214
bio website
location
age
visits member for 2 years, 8 months
seen Dec 5 at 15:39

web programming-javascript, php, mysql, css, html-is my thang

i'm learning mobile-iOS Swift


Jul
22
comment How to not redirect if requesting server_name only
@NathanC thanks, may I ask what the deny code would look like?
Jul
22
asked How to not redirect if requesting server_name only
May
7
awarded  Notable Question
Mar
20
awarded  Popular Question
Mar
11
comment Map a url to a subdomain (NGINX)
@mgovern thanks, my /etc/nginx/sites-enabled is empty so I'm pretty sure my nginx.conf is the only thing that is contributing. Would mind taking a look at the nginx.conf file i included as a gist? gist.github.com/tim-peterson/5136554
Mar
11
comment Map a url to a subdomain (NGINX)
hmm, medicine.example.com redirects to example.com regardless of whether I put your rewrite condition in. So it looks like I have a problem somewhere else in my nginx.conf. Here's my full nginx.conf if that's helpful. Also, is proxy request the same as internal rewrite?
Mar
11
comment Map a url to a subdomain (NGINX)
hi @mgorven, im looking for an internal rewrite, I want to keep the subdomain as the URL, yes example.com is also served by the same web server
Mar
11
asked Map a url to a subdomain (NGINX)
Sep
12
comment How to stop nginx on Mac OS X
using nginx -s stop worked for me but then i wasn't able to restart my server using either nginx -s reopen, nginx -s reload, nginx -s start or nginx -s restart ? How to restart? Nevermind, just executing the program $ sudo /usr/local/sbin/nginx restarts it.
Aug
30
comment Nginx config rewriting subdomain name to 1st URI segment
thanks, problem solved, ugh must have been brain dead!
Aug
30
accepted Nginx config rewriting subdomain name to 1st URI segment
Aug
29
asked Nginx config rewriting subdomain name to 1st URI segment
Aug
28
comment Nginx rewrite to eliminate “www” not working
I have 2 include statements in my http{} block that were there by default: include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*;. Should I comment these out?
Aug
28
comment Nginx rewrite to eliminate “www” not working
none that i know of, i'm a novice as you can tell, just did the sudo apt-get install nginx /php on my ubuntu machine and now here I am, are there other files I need to look at?
Aug
28
comment Nginx rewrite to eliminate “www” not working
@Shane, also how use the return 301 given my 3 server{} blocks? I've just tried a couple things but get this error: ` invalid number of arguments in "return" directive` when I try to restart my server.
Aug
27
comment Nginx rewrite to eliminate “www” not working
@Shane, sorry I made a copy/paste mistake. My 2nd directive is as you've written in your answer. Please see my updated question. Thoughts on why that doesn't work?
Aug
27
revised Nginx rewrite to eliminate “www” not working
deleted 1 characters in body
Aug
27
asked Nginx rewrite to eliminate “www” not working
Aug
13
awarded  Tumbleweed
Jul
31
comment What is the name and location of the Nginx config file (htaccess equivalent)?
thanks for the tip on checking out your questions. I'm thinking i'm understanding more now, thanks for the setting me on the path...