Skip to content

Commit

Permalink
Merge pull request #285 from opengisch/cleanup-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus authored Mar 1, 2022
2 parents 6a98e2f + 6fba262 commit eb64112
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions conf/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ server {
return 444;
}

# deny annoying bot
deny 34.215.13.216;

# checks for static file, if not found proxy to app
location / {
try_files $uri @proxy_to_app;
Expand Down
7 changes: 2 additions & 5 deletions docker-qgis/apply_deltas.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,12 @@ def delta_apply(

start_app()
project = QgsProject.instance()
logging.info(project_filename)
logging.info(delta_filename)
logging.info(f'Loading project file "{project_filename}"...')
project.read(str(project_filename))
logging.info(project.mapLayers())

logging.info(f'Loading delta file "{delta_filename}"...')
delta_file = delta_file_file_loader({"delta_file": delta_filename}) # type: ignore

logging.info(delta_file)

if not delta_file:
raise Exception("Missing delta file")

Expand Down

0 comments on commit eb64112

Please sign in to comment.