Revision c04bd1d9652b33d82e4717d26be5e10e0915a676 authored by Maxim Zhiltsov on 06 April 2023, 16:39:04 UTC, committed by GitHub on 06 April 2023, 16:39:04 UTC
This PR fixes a problem with WriteOnceSerializer that it affected only
the fields declared in the `Meta.fields`, while the manually declared
fields were left unaffected. This PR also fixes several issues with
invalid field declarations.
1 parent 7c00f5e
Raw File
react_nginx.conf
server {
    root /usr/share/nginx/html;

    location / {
        # Any route that doesn't exist on the server (e.g. /devices)
        try_files $uri $uri/ /index.html;
        add_header  Cache-Control: "no-cache, no-store, must-revalidate";
        add_header  Pragma: "no-cache";
        add_header  Expires: 0;
    }

    location /assets {
        expires 1y;
        add_header Cache-Control "public";
        access_log off;
    }
}
back to top