Skip to content

Instantly share code, notes, and snippets.

xhjcehust

Block or report user

Report or block xhjcehust

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xhjcehust
xhjcehust / nginx.conf
Created Dec 12, 2017 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
View nginx.conf
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
View debug.php
<?php
return [
'debug' => true,
];
View zan-config
resource/config/test/
├── README.md
├── connection
│   ├── mysql.php
│   ├── nova.php
│   └── redis.php
├── cookie.php
├── debug.php
├── loadBalancing.php
├── log.php
View server.php
<?php
return [
'host' => '0.0.0.0',
'port' => 8030,
'config' => [
'worker_num' => 2,
'dispatch_mode' => 3,
],
'monitor' =>[
You can’t perform that action at this time.