diff --git a/readme.md b/readme.md
index a858f3e05339a24033f8690f41e217d8f1a99031..42b1f415c237d3a92fa4a132e7b8e1e6cf5eb6eb 100644
--- a/readme.md
+++ b/readme.md
@@ -148,6 +148,16 @@ server {
         ssl_certificate_key /etc/nginx/ssl/nginx.key;
 
 
+        #configuration for static and media files hosted by nginx
+        location /media/ {
+                root /var/www/scheduling-system-files;
+        }
+
+        location /static/ {
+                root /var/www/scheduling-system-files;
+        }
+
+
         location / {
               # checks for static file, if not found proxy to app
               proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;