diff options
-rw-r--r-- | config-service-myhostname.PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config-service-myhostname.PKGBUILD b/config-service-myhostname.PKGBUILD index ff32aaa..ed219d1 100644 --- a/config-service-myhostname.PKGBUILD +++ b/config-service-myhostname.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20170201.1 +pkgver=20170202 package() { preamble @@ -21,6 +21,8 @@ server { root /srv/http/myhostname; autoindex on; + add_header "Access-Control-Allow-Origin" "*"; + location = /sysinfo { uwsgi_pass unix:/run/uwsgi/myhostname.sock; uwsgi_modifier1 9; # Standard CGI request |