Current time: 10-23-2019, 02:32 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relay Only Server
07-02-2013, 06:37 PM
Post: #1
Relay Only Server
I've currently got a couple of WPT installs (one on a local server and another on AWS)

I've been thinking about changing the config so that AWS server is just a relay server for the local server, i.e. all tests are started and results stored on the local server, so that if I kill it off I don't lose the data.
I could then also mix in some of the main WPT servers I use frequently too.

As it stands the relay server would have all the WPT UI and I wondered if there was any point or even feasible to strip the UI off and have an API only server?

(I currently protect the server using HTTP Auth, which is probably good enough to prevent casual abuse but not people who are determined!)

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
07-03-2013, 09:39 AM
Post: #2
RE: Relay Only Server
If you add

Code:
headless=1

to your settings.ini on the relay server it will disable the test UI and only accept tests that come in with an API key. That's how we have the httparchive instance configured.

If you want to go super-secure then you can use ssh tunnels between the 2 instances but that may be overkill.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-03-2013, 06:03 PM
Post: #3
RE: Relay Only Server
(07-03-2013 09:39 AM)pmeenan Wrote:  If you add

Code:
headless=1

to your settings.ini on the relay server it will disable the test UI and only accept tests that come in with an API key. That's how we have the httparchive instance configured.

If you want to go super-secure then you can use ssh tunnels between the 2 instances but that may be overkill.

Bonza!

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)