You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One interesting feature of nginx is that autoindex module -- which automatically generates a directory listing view for folders without an index.html -- can be JSON-based indexes rather than HTML. It also has a JSONP mode with a callback.
...so it could be done in one subfolder of an nginx viewer that is also used for browsing dfrbrowser output --- or it could be its own separate viewer container.
The text was updated successfully, but these errors were encountered:
I'm not sure exactly what this does. Is it used to format the response to an HTTP request? If so, we could certainly use it to grab the contents of the folder where imports are staged. I switched from using requests to os.listdir() for this, but I think I left the earlier code in there, so it would be easy to re-implement it.
One interesting feature of nginx is that autoindex module -- which automatically generates a directory listing view for folders without an index.html -- can be JSON-based indexes rather than HTML. It also has a JSONP mode with a callback.
http://nginx.org/en/docs/http/ngx_http_autoindex_module.html
This might be useful for the WMS manager / flask site checking the collector-data volume mount for available imports...?
Turning on indexing mode in one folder location or for the whole server is easy -- see for example this config:
...so it could be done in one subfolder of an nginx viewer that is also used for browsing dfrbrowser output --- or it could be its own separate viewer container.
The text was updated successfully, but these errors were encountered: