This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------ | |
# | |
# Copyright (C) 2006 Novell/SUSE | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of version 2 of the GNU General Public | |
# License published by the Free Software Foundation. | |
# | |
# ------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SWHandler from './sw/SWHandler.mjs'; | |
import AuthHandler from './sw/Handler/AuthHandler.mjs'; | |
import DemoHandler from './sw/Handler/DemoHandler.mjs'; | |
import CacheHandler from './sw/Handler/CacheHandler.mjs'; | |
const swHandler = new SWHandler(self); | |
swHandler.addHandler(new AuthHandler(), 'auth'); | |
swHandler.addHandler(new DemoHandler()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/nginx/sites-availables/elasticsearch.conf | |
server { | |
# We're using the port 9292 to access elasticsearch | |
listen 9292; | |
listen [::]:9292; | |
server_name example.com; | |
expires off; |