+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
Windows Thread, MCSA exam in Technical; server { listen 80; server_name www.domain.com; location / { proxy_pass http://myproject; } } } S'a vhost definition... server{ = start ...
  1. #16
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    842
    Thank Post
    76
    Thanked 225 Times in 185 Posts
    Rep Power
    80
    server {
    listen 80;
    server_name www.domain.com;
    location / {
    proxy_pass http://myproject;
    }
    }
    }
    S'a vhost definition...

    server{ = start a new server (vhost)
    listen 80; = traffic for this server is expected to arrive on port 80
    location / = local path to the content to be served
    {proxy_pass...} = reverseproxy I think... effectively makes the URL after proxy_pass appear in the local URL space...
    } = end this server (vhost) definition.
    } = dunno - one too many!

  2. #17
    kevin_lane's Avatar
    Join Date
    Mar 2007
    Location
    Derby
    Posts
    486
    Thank Post
    21
    Thanked 16 Times in 16 Posts
    Blog Entries
    5
    Rep Power
    17
    ttp {
    upstream website {
    server uk.kevinlane.com weight=3;
    server us.kevinlane.com;
    server hk.kevinlane.com;


    would all point too server
    server uk.kevinlane.com weight=3;
    server us.kevinlane.com;
    server hk.kevinlane.com;

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Anyone About start MCSA,A+,N+?
    By russdev in forum Courses and Training
    Replies: 56
    Last Post: 11th December 2008, 08:15 AM
  2. MCSA Core
    By apeo in forum Books and Manuals
    Replies: 17
    Last Post: 14th July 2008, 05:58 PM
  3. MCSA
    By localzuk in forum Courses and Training
    Replies: 18
    Last Post: 6th September 2007, 08:45 AM
  4. MCSA
    By localzuk in forum Courses and Training
    Replies: 9
    Last Post: 15th February 2007, 02:45 PM
  5. MCSA
    By localzuk in forum Courses and Training
    Replies: 0
    Last Post: 14th February 2007, 11:33 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •