We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20a949 commit 99fdb63Copy full SHA for 99fdb63
.gitignore
@@ -1 +1,3 @@
1
.DS_Store
2
+*.out
3
+*.pem
HTTPS_Server.py
@@ -23,7 +23,7 @@ def do_POST(self):
23
Handler = ServerHandler
24
25
httpd = BaseHTTPServer.HTTPServer(("", PORT),Handler)
26
-httpd.socket = ssl.wrap_socket (httpd.socket, certfile='./cert.pem', server_side=True)
+httpd.socket = ssl.wrap_socket (httpd.socket, certfile='../cert.pem', server_side=True)
27
ip = socket.gethostbyname(socket.gethostname())
28
print "Serving at: https://%(interface)s:%(port)s" % dict(interface=ip or "localhost", port=PORT)
29
-httpd.serve_forever()
+httpd.serve_forever()
startHttpServer.sh
@@ -1,2 +1,2 @@
pushd ./resource
-nohup python ../HTTP_Server.py 8001 &> ../nohup.out &
+nohup python ../HTTP_Server.py 8002 &> ../nohup.out &
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments