Be aware the following shortcuts are only working, if you have the plugins installed mentioned below.
:w Save file
:w filename Save file under new filename
upstream my-domain { | |
server 127.0.0.1:8080; // nodejs and socketio running on same port. chnage or create new upstream for socket if socket running on different port | |
} | |
server { | |
listen 80; | |
server_name *.example.com; //change domain | |
return 301 https://$host$request_uri; | |
} |
class DTO: | |
def __init__(self, id_): | |
self._id = id_ | |
@property | |
def id(self): | |
return self._id | |
class UserDTO(DTO): |