Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier:

Aufgrund einer Wartung wird GitLab am 03.08. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 03.08. between 8:00 and 9:00 am.

Commit c04cca21 authored by hengwen's avatar hengwen
Browse files

Add nginx

parent eb18b903
......@@ -42,6 +42,10 @@ This will start a pure backend application. Now you can use the
to play with the simulation.
API doc can be found at [](
To try it with visualization, download
[visualization project](,
uncomment the `nginx` part of `docker/docker-compose.yml`, comment or remove the `ports` field of `server`.
# Portable version
A portable version for Windows of the SmartFoxServer based simulator together with a portable PostgreSQL database is available as [archive]( Running the portable version can be done by running the `start-script.bat` file, provided in the archive.
......@@ -49,3 +49,13 @@ services:
restart: always
ZOO_SERVERS: zoo1:2181
# nginx:
# image: nginx:1.17
# ports:
# - 8090:8090
# restart: always
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
# # edit line below to use visualization
# - /path/to/visualization/src/main/webapp:/app
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/;
events {
worker_connections 1024;
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
client_max_body_size 50m;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
gzip on;
# montisim-server-restful backend
server {
listen 8090;
root /app;
add_header Access-Control-Allow-Origin * always;
add_header Access-Control-Allow-Methods '*' always;
location / {
proxy_pass http://server:8090;
# include servers/*;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment