Skip to content

add admin server type in runtime options#7927

Open
wwbmmm wants to merge 1 commit into
facebook:masterfrom
baidu-lamp:add-admin-server-type
Open

add admin server type in runtime options#7927
wwbmmm wants to merge 1 commit into
facebook:masterfrom
baidu-lamp:add-admin-server-type

Conversation

@wwbmmm

@wwbmmm wwbmmm commented Jul 25, 2017

Copy link
Copy Markdown
Contributor

Change-Id: Ie00658b19606c9238ee71c5ab66434481c22202d

We always use fastcgi server for compatibility, but we don't want the admin server to be fastcgi. It is not convenient to visit. So we add a patch to make admin server type different from page server type.

In Baidu, we always use fastcgi for page server and http for admin server.

Just add this in you ini setting: hhvm.admin_server.type=proxygen

If this is not set, the default value is the same type as the page server.

Change-Id: Ie00658b19606c9238ee71c5ab66434481c22202d
@hhvm-bot

Copy link
Copy Markdown
Contributor

@Orvid has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment